Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.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.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized") translateModel(BuildingSystems.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 104.3 kB / 16.41 MB, free: 6.5 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.00121/0.00121, allocations: 187 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.246/1.246, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001994/0.001994, allocations: 291.2 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8875/0.8875, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001742/0.001742, allocations: 95.84 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.3777, allocations: 86.98 MB / 0.7671 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.PowerLinearized): time 0.00255/0.3803, allocations: 1.43 MB / 0.7685 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002521/0.3806, allocations: 92.58 kB / 0.7685 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.13e-05/0.3806, allocations: 0 / 0.7685 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.799e-05/0.3806, allocations: 0 / 0.7685 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.877e-05/0.3807, allocations: 7.875 kB / 0.7685 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001768/0.3809, allocations: 23.97 kB / 0.7686 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.487e-05/0.3809, allocations: 23.92 kB / 0.7686 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.584e-05/0.381, allocations: 8 kB / 0.7686 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.904e-05/0.3811, allocations: 7.984 kB / 0.7686 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.794e-05/0.3811, allocations: 11.92 kB / 0.7686 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.3811, allocations: 4 kB / 0.7686 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.259e-05/0.3812, allocations: 15.98 kB / 0.7686 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.405e-05/0.3812, allocations: 4 kB / 0.7686 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.75e-05/0.3813, allocations: 19.88 kB / 0.7687 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.45e-05/0.3813, allocations: 27.94 kB / 0.7687 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3814, allocations: 4 kB / 0.7687 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.445e-06/0.3814, allocations: 0 / 0.7687 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.3814, allocations: 3.938 kB / 0.7687 GB, free: 2.195 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.0003992/0.3818, allocations: 347.1 kB / 0.769 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.3818, allocations: 12.03 kB / 0.769 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.382, allocations: 12.92 kB / 0.7691 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.3821, allocations: 168.3 kB / 0.7692 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.3821, allocations: 384 / 0.7692 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.3821, allocations: 4.375 kB / 0.7692 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.3823, allocations: 58.22 kB / 0.7693 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.311e-06/0.3823, allocations: 192 / 0.7693 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.3823, allocations: 3.938 kB / 0.7693 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.3823, allocations: 4 kB / 0.7693 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001894/0.3825, allocations: 47.95 kB / 0.7693 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000353/0.3829, allocations: 271.4 kB / 0.7696 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.3831, allocations: 54.48 kB / 0.7696 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.83e-05/0.3832, allocations: 28.89 kB / 0.7697 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.3832, allocations: 0 / 0.7697 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.3832, allocations: 38.56 kB / 0.7697 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.3832, allocations: 3.938 kB / 0.7697 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003744/0.3836, allocations: 101.6 kB / 0.7698 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.3836, allocations: 55.41 kB / 0.7699 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.463e-05/0.3837, allocations: 106 kB / 0.77 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.3837, allocations: 25.7 kB / 0.77 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.456e-05/0.3838, allocations: 84.14 kB / 0.7701 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.3838, allocations: 7.906 kB / 0.7701 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.087e-05/0.3838, allocations: 17.7 kB / 0.7701 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.793e-05/0.3839, allocations: 310.8 kB / 0.7704 GB, free: 264 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.522e-05/0.384, allocations: 19.98 kB / 0.7704 GB, free: 244 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.424e-05/0.3841, allocations: 31.97 kB / 0.7704 GB, free: 212 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001757/0.3843, allocations: 48.81 kB / 0.7705 GB, free: 160 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3843, allocations: 0 / 0.7705 GB, free: 160 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000215/0.3846, allocations: 93.42 kB / 0.7706 GB, free: 60 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.3846, allocations: 8.094 kB / 0.7706 GB, free: 52 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.3846, allocations: 0 / 0.7706 GB, free: 52 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.3846, allocations: 0 / 0.7706 GB, free: 52 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.3847, allocations: 11.98 kB / 0.7706 GB, free: 40 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3847, allocations: 0 / 0.7706 GB, free: 40 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.502e-05/0.3848, allocations: 11.92 kB / 0.7706 GB, free: 28 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.3848, allocations: 4 kB / 0.7706 GB, free: 24 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 7.474e-05/0.3849, allocations: 112.2 kB / 0.7707 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.504e-05/0.3849, allocations: 8 kB / 0.7707 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.474e-05/0.3849, allocations: 7.531 kB / 0.7707 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.3849, allocations: 0 / 0.7707 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.385, allocations: 0 / 0.7707 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.385, allocations: 0 / 0.7707 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.3851, allocations: 169.6 kB / 0.7709 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3851, allocations: 3.984 kB / 0.7709 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.477e-05/0.3852, allocations: 11.98 kB / 0.7709 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3852, allocations: 0 / 0.7709 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.3852, allocations: 3.984 kB / 0.7709 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3852, allocations: 4 kB / 0.7709 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3852, allocations: 4.188 kB / 0.7709 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002516/0.3855, allocations: 175.5 kB / 0.7711 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.047e-05/0.3855, allocations: 81.02 kB / 0.7712 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.3856, allocations: 11.98 kB / 0.7712 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.539e-05/0.3856, allocations: 8.031 kB / 0.7712 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/0.3857, allocations: 3.984 kB / 0.7712 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.3857, allocations: 0 / 0.7712 GB, free: 15.34 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.115e-05/0.3857, allocations: 83.28 kB / 0.7713 GB, free: 15.26 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3857, allocations: 4 kB / 0.7713 GB, free: 15.25 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002065/0.3859, allocations: 11.88 kB / 0.7713 GB, free: 15.24 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 8.65e-05/0.386, allocations: 95.25 kB / 0.7714 GB, free: 15.14 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002329/0.3863, allocations: 59.88 kB / 0.7714 GB, free: 15.08 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3863, allocations: 0 / 0.7714 GB, free: 15.08 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.595e-05/0.3864, allocations: 27.97 kB / 0.7714 GB, free: 15.05 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.3866, allocations: 7.938 kB / 0.7715 GB, free: 15.05 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003032/0.3869, allocations: 151.4 kB / 0.7716 GB, free: 14.87 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002173/0.3872, allocations: 0.6807 MB / 0.7723 GB, free: 14.16 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.27e-05/0.3872, allocations: 7.438 kB / 0.7723 GB, free: 14.15 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/0.3872, allocations: 0 / 0.7723 GB, free: 14.15 MB / 0.545 GB Notification: Performance of Templates: time 0.00172/0.3889, allocations: 0.6331 MB / 0.7729 GB, free: 13.52 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)