Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.01089/0.01089, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.495/1.495, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.015/3.015, allocations: 473.4 MB / 0.7469 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004381/0.0004377, allocations: 17.22 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3868/0.3873, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.002492/0.3898, allocations: 1.471 MB / 1.076 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002481/0.3901, allocations: 75.67 kB / 1.076 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.617e-05/0.3902, allocations: 0 / 1.076 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.025e-05/0.3902, allocations: 11.92 kB / 1.076 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.3903, allocations: 11.86 kB / 1.076 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001283/0.3905, allocations: 23.98 kB / 1.076 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.3906, allocations: 99.7 kB / 1.076 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002016/0.3908, allocations: 57.06 kB / 1.076 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.061e-05/0.3909, allocations: 31.86 kB / 1.076 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.285e-05/0.391, allocations: 35.78 kB / 1.076 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.3911, allocations: 7.938 kB / 1.076 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.319e-05/0.3911, allocations: 4 kB / 1.076 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.597e-05/0.3911, allocations: 15.92 kB / 1.076 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.11e-05/0.3912, allocations: 65.44 kB / 1.076 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.3913, allocations: 103.8 kB / 1.076 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3914, allocations: 0 / 1.076 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.354e-06/0.3914, allocations: 0 / 1.076 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.134e-06/0.3914, allocations: 0 / 1.076 GB, free: 5.52 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000711/0.3921, allocations: 431.2 kB / 1.077 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.3921, allocations: 8.031 kB / 1.077 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.924e-05/0.3922, allocations: 16.75 kB / 1.077 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.3925, allocations: 196.1 kB / 1.077 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.3925, allocations: 8.375 kB / 1.077 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.3925, allocations: 8.375 kB / 1.077 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004161/0.3929, allocations: 143.4 kB / 1.077 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.393, allocations: 4.172 kB / 1.077 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.393, allocations: 7.938 kB / 1.077 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.393, allocations: 4 kB / 1.077 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004956/0.3935, allocations: 159.8 kB / 1.077 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005884/0.3941, allocations: 388.4 kB / 1.077 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003803/0.3945, allocations: 106.5 kB / 1.078 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002431/0.3947, allocations: 76.92 kB / 1.078 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.3948, allocations: 0 / 1.078 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.3948, allocations: 38.56 kB / 1.078 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.3948, allocations: 0 / 1.078 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0008271/0.3956, allocations: 249.3 kB / 1.078 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.3957, allocations: 51.41 kB / 1.078 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.3958, allocations: 127.7 kB / 1.078 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.3958, allocations: 25.7 kB / 1.078 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.183e-05/0.3959, allocations: 111.9 kB / 1.078 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/0.396, allocations: 19.73 kB / 1.078 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-05/0.396, allocations: 17.72 kB / 1.078 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.3961, allocations: 314.8 kB / 1.078 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002402/0.3964, allocations: 67.94 kB / 1.079 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/0.3966, allocations: 67.94 kB / 1.079 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004384/0.3971, allocations: 140.8 kB / 1.079 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.3971, allocations: 0 / 1.079 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005051/0.3976, allocations: 173.4 kB / 1.079 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.3976, allocations: 8 kB / 1.079 GB, free: 2.387 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.3976, allocations: 4 kB / 1.079 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.3976, allocations: 3.938 kB / 1.079 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.3978, allocations: 35.97 kB / 1.079 GB, free: 2.344 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.3978, allocations: 3.938 kB / 1.079 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.398, allocations: 31.97 kB / 1.079 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.398, allocations: 0 / 1.079 GB, free: 2.309 MB / 0.8262 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 (6): * Single equations (assignments): 6 * 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 9.053e-05/0.3981, allocations: 113.8 kB / 1.079 GB, free: 2.188 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.004e-05/0.3981, allocations: 7.906 kB / 1.079 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.535e-05/0.3982, allocations: 12.36 kB / 1.079 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.3982, allocations: 3.938 kB / 1.079 GB, free: 2.164 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-06/0.3982, allocations: 4 kB / 1.079 GB, free: 2.16 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3982, allocations: 8.375 kB / 1.079 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002036/0.3984, allocations: 201.6 kB / 1.079 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3984, allocations: 0 / 1.079 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001578/0.3986, allocations: 35.97 kB / 1.079 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.3986, allocations: 3.938 kB / 1.079 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.3986, allocations: 0 / 1.079 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.3986, allocations: 7.938 kB / 1.079 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3986, allocations: 4 kB / 1.079 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005468/0.3992, allocations: 267.3 kB / 1.08 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.636e-05/0.3992, allocations: 88.95 kB / 1.08 GB, free: 1.473 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.3992, allocations: 4 kB / 1.08 GB, free: 1.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.3994, allocations: 31.91 kB / 1.08 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.772e-05/0.3995, allocations: 7.984 kB / 1.08 GB, free: 1.43 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.3995, allocations: 4 kB / 1.08 GB, free: 1.426 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.607e-05/0.3995, allocations: 99.2 kB / 1.08 GB, free: 1.328 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3995, allocations: 4 kB / 1.08 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002429/0.3998, allocations: 19.91 kB / 1.08 GB, free: 1.305 MB / 0.8262 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 (6): * Single equations (assignments): 6 * 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.0001408/0.3999, allocations: 101.2 kB / 1.08 GB, free: 1.199 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005097/0.4005, allocations: 139.9 kB / 1.08 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4005, allocations: 0 / 1.08 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000238/0.4007, allocations: 79.88 kB / 1.08 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.4011, allocations: 11.98 kB / 1.08 GB, free: 0.9727 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005157/0.4016, allocations: 235.2 kB / 1.08 GB, free: 0.7109 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.4019, allocations: 0.7043 MB / 1.081 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 4.434e-05/0.4019, allocations: 0 / 1.081 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.055e-05/0.402, allocations: 11.44 kB / 1.081 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.402, allocations: 0 / 1.081 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of Templates: time 0.003449/0.4054, allocations: 0.8893 MB / 1.082 GB, free: 15.09 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & ./Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1)