Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial") translateModel(BuildingSystems.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 104.7 kB / 16.41 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 189.5 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.256/1.256, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002025/0.002025, allocations: 279.9 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8949/0.8949, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001721/0.001721, allocations: 103.8 kB / 0.6821 GB, free: 6.922 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3794/0.3811, allocations: 86.98 MB / 0.7671 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Polynomial): time 0.002514/0.3837, allocations: 1.433 MB / 0.7685 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002817/0.384, allocations: 96.64 kB / 0.7685 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.764e-05/0.384, allocations: 0 / 0.7685 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.692e-05/0.3841, allocations: 7.922 kB / 0.7686 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.13e-05/0.3842, allocations: 3.938 kB / 0.7686 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002369/0.3844, allocations: 15.98 kB / 0.7686 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.145e-05/0.3845, allocations: 27.86 kB / 0.7686 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.292e-05/0.3846, allocations: 8 kB / 0.7686 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.896e-05/0.3846, allocations: 11.98 kB / 0.7686 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.692e-05/0.3846, allocations: 7.938 kB / 0.7686 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.017e-05/0.3847, allocations: 3.938 kB / 0.7686 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.802e-05/0.3848, allocations: 23.97 kB / 0.7686 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.626e-05/0.3848, allocations: 4 kB / 0.7687 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.748e-05/0.3848, allocations: 15.92 kB / 0.7687 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.3849, allocations: 39.83 kB / 0.7687 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.385, allocations: 0 / 0.7687 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.383e-06/0.385, allocations: 4 kB / 0.7687 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.385, allocations: 0 / 0.7687 GB, free: 2.164 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004376/0.3854, allocations: 343.1 kB / 0.769 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.3855, allocations: 12.03 kB / 0.769 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.124e-05/0.3855, allocations: 0.9375 kB / 0.7691 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.3856, allocations: 168.3 kB / 0.7692 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.3856, allocations: 4.375 kB / 0.7692 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-06/0.3856, allocations: 384 / 0.7692 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.3858, allocations: 54.23 kB / 0.7693 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.3858, allocations: 4.125 kB / 0.7693 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.3858, allocations: 3.938 kB / 0.7693 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3858, allocations: 4 kB / 0.7693 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001599/0.386, allocations: 35.91 kB / 0.7693 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003087/0.3863, allocations: 255.5 kB / 0.7696 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.3865, allocations: 50.48 kB / 0.7696 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.291e-05/0.3866, allocations: 20.91 kB / 0.7696 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.445e-05/0.3866, allocations: 4 kB / 0.7696 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.3866, allocations: 30.56 kB / 0.7697 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3866, allocations: 0 / 0.7697 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003373/0.387, allocations: 93.58 kB / 0.7697 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.387, allocations: 51.41 kB / 0.7698 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.68e-05/0.3871, allocations: 105.8 kB / 0.7699 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.3871, allocations: 25.7 kB / 0.7699 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.925e-05/0.3872, allocations: 92.12 kB / 0.77 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.681e-05/0.3872, allocations: 7.891 kB / 0.77 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.164e-05/0.3872, allocations: 17.84 kB / 0.77 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.3873, allocations: 310.8 kB / 0.7703 GB, free: 300 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.006e-05/0.3874, allocations: 19.98 kB / 0.7703 GB, free: 280 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.903e-05/0.3875, allocations: 19.97 kB / 0.7704 GB, free: 260 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.3877, allocations: 44.77 kB / 0.7704 GB, free: 212 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3877, allocations: 4.062 kB / 0.7704 GB, free: 208 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001894/0.3879, allocations: 73.5 kB / 0.7705 GB, free: 128 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.3879, allocations: 4 kB / 0.7705 GB, free: 124 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.3879, allocations: 4 kB / 0.7705 GB, free: 120 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.3879, allocations: 3.984 kB / 0.7705 GB, free: 116 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.006e-05/0.388, allocations: 7.984 kB / 0.7705 GB, free: 108 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.388, allocations: 3.938 kB / 0.7705 GB, free: 104 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.272e-05/0.3881, allocations: 8.016 kB / 0.7705 GB, free: 96 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.3881, allocations: 4 kB / 0.7705 GB, free: 92 kB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.684e-05/0.3882, allocations: 117.8 kB / 0.7706 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.3882, allocations: 0 / 0.7706 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002267/0.3884, allocations: 81.38 kB / 0.7707 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3884, allocations: 0 / 0.7707 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.3884, allocations: 7.984 kB / 0.7707 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.3885, allocations: 4.031 kB / 0.7707 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.3886, allocations: 165.5 kB / 0.7709 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3886, allocations: 0 / 0.7709 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.34e-05/0.3887, allocations: 7.984 kB / 0.7709 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.207e-06/0.3887, allocations: 4 kB / 0.7709 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.3887, allocations: 0 / 0.7709 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3887, allocations: 0 / 0.7709 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3887, allocations: 0 / 0.7709 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.3889, allocations: 179.3 kB / 0.7711 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.263e-05/0.389, allocations: 77.11 kB / 0.7711 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.389, allocations: 3.984 kB / 0.7711 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.83e-05/0.3891, allocations: 4 kB / 0.7711 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.106e-05/0.3891, allocations: 0 / 0.7711 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.3891, allocations: 0 / 0.7711 GB, free: 15.35 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.067e-05/0.3892, allocations: 91.27 kB / 0.7712 GB, free: 15.26 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3892, allocations: 32 / 0.7712 GB, free: 15.26 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002172/0.3894, allocations: 16 kB / 0.7712 GB, free: 15.25 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001446/0.3895, allocations: 103.2 kB / 0.7713 GB, free: 15.14 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001997/0.3898, allocations: 39.95 kB / 0.7714 GB, free: 15.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3898, allocations: 4 kB / 0.7714 GB, free: 15.09 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.074e-05/0.3898, allocations: 19.92 kB / 0.7714 GB, free: 15.07 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.3902, allocations: 18.48 kB / 0.7714 GB, free: 15.06 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003046/0.3905, allocations: 141.3 kB / 0.7716 GB, free: 14.89 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/0.3908, allocations: 0.6768 MB / 0.7722 GB, free: 14.19 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.776e-05/0.3908, allocations: 11.44 kB / 0.7722 GB, free: 14.18 MB / 0.545 GB Notification: Performance of SimCode: time 8.31e-07/0.3908, allocations: 0 / 0.7722 GB, free: 14.18 MB / 0.545 GB Notification: Performance of Templates: time 0.002012/0.3928, allocations: 0.6738 MB / 0.7729 GB, free: 13.5 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe 2>&1)