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.007351/0.007351, allocations: 104.1 kB / 15.73 MB, free: 5.578 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.001479/0.001479, allocations: 189.7 kB / 16.67 MB, free: 5.516 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 15.17 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: 296.6 kB / 290.8 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.937/0.937, allocations: 169.3 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 99.84 kB / 0.6815 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4022/0.404, allocations: 86.97 MB / 0.7664 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Polynomial): time 0.002277/0.4063, allocations: 1.433 MB / 0.7678 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002831/0.4066, allocations: 100.6 kB / 0.7679 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.008e-05/0.4067, allocations: 0 / 0.7679 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.861e-05/0.4067, allocations: 0 / 0.7679 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.666e-05/0.4068, allocations: 7.922 kB / 0.7679 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002272/0.407, allocations: 15.98 kB / 0.7679 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.347e-05/0.4071, allocations: 27.86 kB / 0.7679 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.267e-05/0.4072, allocations: 4 kB / 0.7679 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.877e-05/0.4072, allocations: 11.98 kB / 0.7679 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.457e-05/0.4072, allocations: 15.92 kB / 0.768 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.013e-05/0.4073, allocations: 0 / 0.768 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.713e-05/0.4074, allocations: 27.92 kB / 0.768 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.489e-05/0.4074, allocations: 0 / 0.768 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.809e-05/0.4074, allocations: 19.92 kB / 0.768 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.4075, allocations: 31.89 kB / 0.768 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.4076, allocations: 0 / 0.768 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4076, allocations: 4 kB / 0.768 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.4076, allocations: 0 / 0.768 GB, free: 2.211 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.000402/0.408, allocations: 347.1 kB / 0.7684 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.408, allocations: 12.03 kB / 0.7684 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.941e-05/0.4081, allocations: 0.9375 kB / 0.7684 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.971e-05/0.4082, allocations: 168.3 kB / 0.7685 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.4082, allocations: 384 / 0.7685 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.534e-06/0.4082, allocations: 384 / 0.7685 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.4084, allocations: 54.17 kB / 0.7686 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.4084, allocations: 192 / 0.7686 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.4084, allocations: 11.88 kB / 0.7686 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.4084, allocations: 4 kB / 0.7686 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001689/0.4086, allocations: 39.89 kB / 0.7686 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002873/0.4089, allocations: 255.5 kB / 0.7689 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.409, allocations: 42.5 kB / 0.7689 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.052e-05/0.4091, allocations: 32.84 kB / 0.769 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.95e-05/0.4091, allocations: 3.984 kB / 0.769 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.4092, allocations: 30.56 kB / 0.769 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.4092, allocations: 0 / 0.769 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003524/0.4095, allocations: 85.64 kB / 0.7691 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.4096, allocations: 55.53 kB / 0.7691 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.902e-05/0.4097, allocations: 109.8 kB / 0.7692 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.4097, allocations: 29.7 kB / 0.7693 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.847e-05/0.4097, allocations: 84.14 kB / 0.7693 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.478e-05/0.4097, allocations: 3.906 kB / 0.7694 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/0.4098, allocations: 13.72 kB / 0.7694 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.872e-05/0.4099, allocations: 314.8 kB / 0.7697 GB, free: 344 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.943e-05/0.41, allocations: 23.91 kB / 0.7697 GB, free: 320 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.189e-05/0.41, allocations: 19.98 kB / 0.7697 GB, free: 300 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/0.4102, allocations: 44.81 kB / 0.7697 GB, free: 252 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4102, allocations: 0 / 0.7697 GB, free: 252 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001888/0.4104, allocations: 69.52 kB / 0.7698 GB, free: 176 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.4104, allocations: 16.08 kB / 0.7698 GB, free: 160 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.4104, allocations: 0 / 0.7698 GB, free: 160 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.4104, allocations: 0 / 0.7698 GB, free: 160 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.074e-05/0.4105, allocations: 4 kB / 0.7698 GB, free: 156 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.4105, allocations: 4 kB / 0.7698 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.653e-05/0.4106, allocations: 3.984 kB / 0.7698 GB, free: 148 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.4106, allocations: 7.938 kB / 0.7698 GB, free: 140 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 6.846e-05/0.4107, allocations: 116.2 kB / 0.77 GB, free: 16 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.4107, allocations: 4 kB / 0.77 GB, free: 12 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002322/0.4109, allocations: 81.25 kB / 0.77 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.411, allocations: 0 / 0.77 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.411, allocations: 0 / 0.77 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.411, allocations: 3.984 kB / 0.77 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/0.4111, allocations: 169.5 kB / 0.7702 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.4111, allocations: 3.938 kB / 0.7702 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.646e-05/0.4112, allocations: 8 kB / 0.7702 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.4112, allocations: 4.031 kB / 0.7702 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.4112, allocations: 0 / 0.7702 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.4112, allocations: 0 / 0.7702 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.4112, allocations: 3.984 kB / 0.7702 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.4115, allocations: 175.3 kB / 0.7704 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.983e-05/0.4115, allocations: 77.11 kB / 0.7705 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.4115, allocations: 7.969 kB / 0.7705 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.659e-05/0.4116, allocations: 4 kB / 0.7705 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.472e-05/0.4116, allocations: 3.984 kB / 0.7705 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.4116, allocations: 4 kB / 0.7705 GB, free: 15.39 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.694e-05/0.4117, allocations: 87.53 kB / 0.7706 GB, free: 15.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4117, allocations: 0 / 0.7706 GB, free: 15.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002235/0.4119, allocations: 12 kB / 0.7706 GB, free: 15.29 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.0001245/0.4121, allocations: 107.2 kB / 0.7707 GB, free: 15.18 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002113/0.4123, allocations: 47.91 kB / 0.7707 GB, free: 15.13 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4123, allocations: 0 / 0.7707 GB, free: 15.13 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.518e-05/0.4124, allocations: 19.97 kB / 0.7707 GB, free: 15.11 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.4126, allocations: 11.94 kB / 0.7708 GB, free: 15.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002431/0.4129, allocations: 105.6 kB / 0.7709 GB, free: 14.97 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002082/0.4131, allocations: 0.6847 MB / 0.7715 GB, free: 14.26 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.149e-05/0.4131, allocations: 0 / 0.7715 GB, free: 14.26 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.886e-05/0.4132, allocations: 7.438 kB / 0.7715 GB, free: 14.25 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.4132, allocations: 0 / 0.7715 GB, free: 14.25 MB / 0.545 GB Notification: Performance of Templates: time 0.002544/0.4157, allocations: 0.5481 MB / 0.7721 GB, free: 13.71 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)