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.001257/0.001257, allocations: 105 kB / 16.41 MB, free: 6.457 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.00125/0.00125, allocations: 189.2 kB / 17.34 MB, free: 5.734 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.408/1.408, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002505/0.002505, allocations: 288.2 kB / 291.5 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 1.144/1.144, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002758/0.002758, allocations: 95.84 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4185/0.4212, allocations: 86.98 MB / 0.7671 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.PowerLinearized): time 0.002536/0.4238, allocations: 1.426 MB / 0.7685 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002778/0.4241, allocations: 96.58 kB / 0.7685 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.39e-05/0.4241, allocations: 4 kB / 0.7685 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.977e-05/0.4241, allocations: 3.938 kB / 0.7686 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.913e-05/0.4242, allocations: 3.984 kB / 0.7686 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001798/0.4243, allocations: 15.92 kB / 0.7686 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.82e-05/0.4244, allocations: 31.86 kB / 0.7686 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.153e-05/0.4245, allocations: 4 kB / 0.7686 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.715e-05/0.4246, allocations: 4 kB / 0.7686 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.314e-05/0.4246, allocations: 15.92 kB / 0.7686 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.4246, allocations: 7.938 kB / 0.7686 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.027e-05/0.4247, allocations: 11.98 kB / 0.7686 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.689e-05/0.4247, allocations: 11.98 kB / 0.7687 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.197e-05/0.4247, allocations: 19.92 kB / 0.7687 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.4249, allocations: 31.7 kB / 0.7687 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4249, allocations: 0 / 0.7687 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4249, allocations: 0 / 0.7687 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.71e-06/0.4249, allocations: 0 / 0.7687 GB, free: 2.227 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.0004958/0.4254, allocations: 341.3 kB / 0.769 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.4254, allocations: 8.031 kB / 0.769 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001595/0.4256, allocations: 24.8 kB / 0.7691 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.4257, allocations: 172.3 kB / 0.7692 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.4257, allocations: 384 / 0.7692 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.4257, allocations: 384 / 0.7692 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.4259, allocations: 62.16 kB / 0.7693 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.4259, allocations: 192 / 0.7693 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.426, allocations: 7.922 kB / 0.7693 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.426, allocations: 0 / 0.7693 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002171/0.4262, allocations: 55.95 kB / 0.7693 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003958/0.4266, allocations: 264.9 kB / 0.7696 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.4268, allocations: 54.48 kB / 0.7696 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.4269, allocations: 36.83 kB / 0.7697 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.4269, allocations: 0 / 0.7697 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.4269, allocations: 30.56 kB / 0.7697 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.4269, allocations: 0 / 0.7697 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0004183/0.4273, allocations: 105.6 kB / 0.7698 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.4274, allocations: 55.53 kB / 0.7699 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.706e-05/0.4275, allocations: 105.8 kB / 0.77 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.4275, allocations: 25.7 kB / 0.77 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.746e-05/0.4275, allocations: 84.14 kB / 0.7701 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/0.4275, allocations: 7.953 kB / 0.7701 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.355e-05/0.4276, allocations: 9.719 kB / 0.7701 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.4277, allocations: 318.8 kB / 0.7704 GB, free: 288 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.4278, allocations: 27.91 kB / 0.7704 GB, free: 260 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.4279, allocations: 23.97 kB / 0.7704 GB, free: 236 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.4281, allocations: 52.81 kB / 0.7705 GB, free: 180 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.4281, allocations: 0 / 0.7705 GB, free: 180 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002454/0.4284, allocations: 81.66 kB / 0.7706 GB, free: 92 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.4284, allocations: 8 kB / 0.7706 GB, free: 84 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.4284, allocations: 0 / 0.7706 GB, free: 84 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.4284, allocations: 3.984 kB / 0.7706 GB, free: 80 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.4285, allocations: 8 kB / 0.7706 GB, free: 72 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.4285, allocations: 3.938 kB / 0.7706 GB, free: 68 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.296e-05/0.4286, allocations: 7.984 kB / 0.7706 GB, free: 60 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.4286, allocations: 3.938 kB / 0.7706 GB, free: 56 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 0.0001051/0.4287, allocations: 125.8 kB / 0.7707 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.617e-05/0.4287, allocations: 7.891 kB / 0.7707 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.533e-05/0.4287, allocations: 3.531 kB / 0.7707 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.4287, allocations: 4 kB / 0.7707 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.4288, allocations: 0 / 0.7707 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.4288, allocations: 0 / 0.7707 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/0.4289, allocations: 165.6 kB / 0.7709 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.4289, allocations: 4 kB / 0.7709 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.033e-05/0.429, allocations: 7.984 kB / 0.7709 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.429, allocations: 8 kB / 0.7709 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.429, allocations: 0 / 0.7709 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.429, allocations: 0 / 0.7709 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.429, allocations: 256 / 0.7709 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002964/0.4293, allocations: 175.4 kB / 0.7711 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.515e-05/0.4294, allocations: 81.14 kB / 0.7712 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.4294, allocations: 4 kB / 0.7712 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.231e-05/0.4295, allocations: 11.92 kB / 0.7712 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.505e-05/0.4295, allocations: 4 kB / 0.7712 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.4295, allocations: 0 / 0.7712 GB, free: 15.37 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.108e-05/0.4296, allocations: 87.27 kB / 0.7713 GB, free: 15.29 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.4296, allocations: 0 / 0.7713 GB, free: 15.29 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000215/0.4298, allocations: 4 kB / 0.7713 GB, free: 15.28 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.0001147/0.4299, allocations: 103.2 kB / 0.7714 GB, free: 15.17 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002623/0.4302, allocations: 47.95 kB / 0.7714 GB, free: 15.12 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4302, allocations: 0 / 0.7714 GB, free: 15.12 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.4303, allocations: 27.97 kB / 0.7714 GB, free: 15.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.4306, allocations: 11.88 kB / 0.7715 GB, free: 15.09 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003403/0.4309, allocations: 129.5 kB / 0.7716 GB, free: 14.93 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.4312, allocations: 0.6768 MB / 0.7722 GB, free: 14.23 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.015e-05/0.4312, allocations: 0 / 0.7722 GB, free: 14.23 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.787e-05/0.4313, allocations: 11.44 kB / 0.7722 GB, free: 14.22 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.4313, allocations: 0 / 0.7722 GB, free: 14.22 MB / 0.545 GB Notification: Performance of Templates: time 0.0028/0.4341, allocations: 0.5788 MB / 0.7728 GB, free: 13.64 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)