Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001796/0.001796, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001976/0.001976, allocations: 169.2 kB / 22.76 MB, free: 1.664 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.578/1.578, allocations: 177.1 MB / 203.1 MB, free: 5.551 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.003303/0.003303, allocations: 234.5 kB / 259.8 MB, free: 12.88 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.217/1.217, allocations: 138.5 MB / 454.7 MB, free: 1.492 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy") translateModel(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.5543 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.834e-05/2.982e-05, allocations: 5.406 kB / 0.5543 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.3989/0.3989, allocations: 159.3 MB / 0.7099 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.007336/0.4062, allocations: 4.725 MB / 0.7145 GB, free: 8.953 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000254/0.4065, allocations: 15.88 kB / 0.7145 GB, free: 8.938 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0004874/0.407, allocations: 131 kB / 0.7147 GB, free: 8.809 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001537/0.4085, allocations: 0.5791 MB / 0.7152 GB, free: 8.227 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001979/0.4105, allocations: 0.8327 MB / 0.716 GB, free: 7.391 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0007985/0.4113, allocations: 0.5766 MB / 0.7166 GB, free: 6.812 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003541/0.4117, allocations: 173.1 kB / 0.7168 GB, free: 6.648 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001292/0.4129, allocations: 0.5371 MB / 0.7173 GB, free: 6.109 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006844/0.4136, allocations: 287.1 kB / 0.7176 GB, free: 5.828 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.244e-05/0.4137, allocations: 16 kB / 0.7176 GB, free: 5.812 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001618/0.4153, allocations: 0.8645 MB / 0.7184 GB, free: 4.945 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.4154, allocations: 95.72 kB / 0.7185 GB, free: 4.852 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001394/0.4156, allocations: 91.75 kB / 0.7186 GB, free: 4.762 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001217/0.4168, allocations: 0.7361 MB / 0.7193 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.4168, allocations: 0 / 0.7193 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4168, allocations: 0 / 0.7193 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.78e-06/0.4168, allocations: 0 / 0.7193 GB, free: 4.023 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.00102/0.4178, allocations: 0.6465 MB / 0.72 GB, free: 3.34 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.4179, allocations: 8.75 kB / 0.72 GB, free: 3.332 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007283/0.4186, allocations: 115.5 kB / 0.7201 GB, free: 3.219 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004926/0.4191, allocations: 240.5 kB / 0.7203 GB, free: 2.957 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.4191, allocations: 13.44 kB / 0.7203 GB, free: 2.945 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.264e-05/0.4192, allocations: 24 kB / 0.7203 GB, free: 2.922 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005208/0.4197, allocations: 267.2 kB / 0.7206 GB, free: 2.625 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.4197, allocations: 0 / 0.7206 GB, free: 2.625 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.583e-05/0.4197, allocations: 4 kB / 0.7206 GB, free: 2.621 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.4197, allocations: 8 kB / 0.7206 GB, free: 2.613 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003773/0.4201, allocations: 135.8 kB / 0.7207 GB, free: 2.48 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001924/0.422, allocations: 1.431 MB / 0.7221 GB, free: 0.9766 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003245/0.4224, allocations: 187.6 kB / 0.7223 GB, free: 0.7305 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001752/0.4225, allocations: 86.34 kB / 0.7224 GB, free: 0.625 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006438/0.4232, allocations: 103.8 kB / 0.7225 GB, free: 0.5234 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.308e-05/0.4232, allocations: 41.39 kB / 0.7225 GB, free: 484 kB / 0.5261 GB Notification: Performance of pre-optimization done (n=13): time 1.203e-06/0.4232, allocations: 3.938 kB / 0.7225 GB, free: 480 kB / 0.5261 GB Notification: Performance of matching and sorting (n=13): time 0.0006847/0.4239, allocations: 186.1 kB / 0.7227 GB, free: 288 kB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/0.424, allocations: 162.7 kB / 0.7229 GB, free: 88 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003071/0.4243, allocations: 285.8 kB / 0.7231 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.4244, allocations: 25.7 kB / 0.7232 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.4245, allocations: 211.1 kB / 0.7234 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 6.316e-05/0.4246, allocations: 59.52 kB / 0.7234 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.4247, allocations: 47.36 kB / 0.7235 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0004278/0.4251, allocations: 0.504 MB / 0.724 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.4252, allocations: 43.97 kB / 0.724 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003053/0.4256, allocations: 246.8 kB / 0.7242 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003489/0.4259, allocations: 169 kB / 0.7244 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4259, allocations: 4 kB / 0.7244 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004711/0.4264, allocations: 198.2 kB / 0.7246 GB, free: 14.17 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.4264, allocations: 8 kB / 0.7246 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.4264, allocations: 0 / 0.7246 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.4264, allocations: 4 kB / 0.7246 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/0.4266, allocations: 39.97 kB / 0.7246 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.4266, allocations: 7.938 kB / 0.7246 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001509/0.4268, allocations: 11.89 kB / 0.7247 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.624e-05/0.4268, allocations: 16 kB / 0.7247 GB, free: 14.08 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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.0001838/0.427, allocations: 180.6 kB / 0.7248 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/0.4271, allocations: 35.59 kB / 0.7249 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004797/0.4276, allocations: 185.1 kB / 0.7251 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.4276, allocations: 4 kB / 0.7251 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.4276, allocations: 4 kB / 0.7251 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.4276, allocations: 0 / 0.7251 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001238/0.4289, allocations: 1.004 MB / 0.726 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.4289, allocations: 3.984 kB / 0.726 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.429, allocations: 16 kB / 0.7261 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.429, allocations: 4 kB / 0.7261 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.429, allocations: 8 kB / 0.7261 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.429, allocations: 8.141 kB / 0.7261 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/0.429, allocations: 7.938 kB / 0.7261 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005546/0.4296, allocations: 354 kB / 0.7264 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.677e-05/0.4297, allocations: 27.83 kB / 0.7265 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.965e-05/0.4297, allocations: 8 kB / 0.7265 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.4298, allocations: 4 kB / 0.7265 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.308e-05/0.4299, allocations: 15.92 kB / 0.7265 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.888e-06/0.4299, allocations: 5.062 kB / 0.7265 GB, free: 12.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002098/0.4301, allocations: 213.1 kB / 0.7267 GB, free: 11.9 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1e-07/0.4301, allocations: 4.031 kB / 0.7267 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004748/0.4306, allocations: 103.8 kB / 0.7268 GB, free: 11.79 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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 (10): * Single equations (assignments): 10 * 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.0004634/0.431, allocations: 208.2 kB / 0.727 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003561/0.4314, allocations: 120.1 kB / 0.7271 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.4314, allocations: 4 kB / 0.7271 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.4315, allocations: 51.59 kB / 0.7272 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005936/0.4321, allocations: 80.62 kB / 0.7272 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008912/0.433, allocations: 489.4 kB / 0.7277 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001664/0.4332, allocations: 142.2 kB / 0.7278 GB, free: 10.65 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001534/0.4333, allocations: 50.25 kB / 0.7279 GB, free: 10.6 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.767e-05/0.4334, allocations: 20.5 kB / 0.7279 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of SimCode: time 4.21e-07/0.4334, allocations: 0 / 0.7279 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of Templates: time 0.01046/0.4438, allocations: 4.496 MB / 0.7323 GB, free: 6.211 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.569648495991714]