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.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.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy") translateModel(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 109.1 kB / 16.41 MB, free: 6.469 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.001752/0.001752, allocations: 187 kB / 17.34 MB, free: 5.715 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.373/1.373, 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.00216/0.00216, allocations: 294.9 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9538/0.9538, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 103.8 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4252/0.427, allocations: 86.97 MB / 0.7671 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.1691/0.5961, allocations: 163.2 MB / 0.9265 GB, free: 52 kB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.005948/0.6021, allocations: 4.582 MB / 0.9309 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000435/0.6026, allocations: 7.938 kB / 0.9309 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0005111/0.6031, allocations: 127 kB / 0.9311 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001536/0.6047, allocations: 0.5445 MB / 0.9316 GB, free: 10.78 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001934/0.6067, allocations: 0.7677 MB / 0.9323 GB, free: 10.01 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0008062/0.6075, allocations: 0.5846 MB / 0.9329 GB, free: 9.426 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004173/0.6079, allocations: 205.1 kB / 0.9331 GB, free: 9.227 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001049/0.609, allocations: 470.2 kB / 0.9336 GB, free: 8.766 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000662/0.6097, allocations: 297.5 kB / 0.9338 GB, free: 8.477 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 5.017e-05/0.6097, allocations: 16 kB / 0.9339 GB, free: 8.461 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001705/0.6114, allocations: 0.9977 MB / 0.9348 GB, free: 7.461 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.6116, allocations: 87.78 kB / 0.9349 GB, free: 7.375 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.000146/0.6117, allocations: 123.4 kB / 0.935 GB, free: 7.254 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001316/0.613, allocations: 0.7207 MB / 0.9357 GB, free: 6.531 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.6131, allocations: 4 kB / 0.9357 GB, free: 6.527 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6131, allocations: 0 / 0.9357 GB, free: 6.527 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.6131, allocations: 3.938 kB / 0.9357 GB, free: 6.523 MB / 0.7012 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.001097/0.6142, allocations: 0.6035 MB / 0.9363 GB, free: 5.871 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.6142, allocations: 8.031 kB / 0.9363 GB, free: 5.863 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007153/0.615, allocations: 83.48 kB / 0.9364 GB, free: 5.781 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004374/0.6154, allocations: 295.4 kB / 0.9367 GB, free: 5.453 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.6154, allocations: 15.95 kB / 0.9367 GB, free: 5.438 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.129e-05/0.6155, allocations: 24 kB / 0.9367 GB, free: 5.414 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005128/0.616, allocations: 283.5 kB / 0.937 GB, free: 5.109 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.616, allocations: 0 / 0.937 GB, free: 5.109 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.6161, allocations: 4 kB / 0.937 GB, free: 5.105 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.6161, allocations: 11.94 kB / 0.937 GB, free: 5.094 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004422/0.6165, allocations: 208.3 kB / 0.9372 GB, free: 4.891 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001628/0.6182, allocations: 1.23 MB / 0.9384 GB, free: 3.582 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000302/0.6185, allocations: 169.2 kB / 0.9386 GB, free: 3.371 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002107/0.6187, allocations: 116.2 kB / 0.9387 GB, free: 3.242 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007735/0.6195, allocations: 339.2 kB / 0.939 GB, free: 2.855 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/0.6195, allocations: 34.56 kB / 0.939 GB, free: 2.812 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.6195, allocations: 3.938 kB / 0.9391 GB, free: 2.809 MB / 0.7012 GB Notification: Performance of matching and sorting (n=13): time 0.0007752/0.6203, allocations: 277.2 kB / 0.9393 GB, free: 2.531 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.455e-05/0.6204, allocations: 162.2 kB / 0.9395 GB, free: 2.336 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003118/0.6207, allocations: 283 kB / 0.9397 GB, free: 2.055 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/0.6208, allocations: 33.7 kB / 0.9398 GB, free: 2.016 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.6209, allocations: 148.2 kB / 0.9399 GB, free: 1.867 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.38e-05/0.621, allocations: 51.3 kB / 0.94 GB, free: 1.816 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.742e-05/0.621, allocations: 37.7 kB / 0.94 GB, free: 1.773 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.6212, allocations: 342.8 kB / 0.9403 GB, free: 1.43 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001895/0.6214, allocations: 63.95 kB / 0.9404 GB, free: 1.367 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002444/0.6217, allocations: 140.5 kB / 0.9405 GB, free: 1.199 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003851/0.622, allocations: 211.5 kB / 0.9407 GB, free: 0.9648 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.6221, allocations: 0 / 0.9407 GB, free: 0.9648 MB / 0.7012 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005512/0.6226, allocations: 249.6 kB / 0.941 GB, free: 0.7148 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.6226, allocations: 7.938 kB / 0.941 GB, free: 0.707 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.6227, allocations: 4 kB / 0.941 GB, free: 0.7031 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.6227, allocations: 4 kB / 0.941 GB, free: 0.6992 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002109/0.6229, allocations: 47.84 kB / 0.941 GB, free: 0.6523 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.6229, allocations: 4 kB / 0.941 GB, free: 0.6484 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/0.6231, allocations: 27.73 kB / 0.9411 GB, free: 0.6211 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-05/0.6232, allocations: 19.94 kB / 0.9411 GB, free: 0.6016 MB / 0.7012 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.0001557/0.6233, allocations: 156.2 kB / 0.9412 GB, free: 452 kB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/0.6235, allocations: 27.72 kB / 0.9412 GB, free: 424 kB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004848/0.624, allocations: 177.9 kB / 0.9414 GB, free: 228 kB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.624, allocations: 4 kB / 0.9414 GB, free: 224 kB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.624, allocations: 0 / 0.9414 GB, free: 224 kB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.624, allocations: 11.92 kB / 0.9414 GB, free: 212 kB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.6251, allocations: 0.8432 MB / 0.9423 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.6251, allocations: 0 / 0.9423 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.6252, allocations: 31.91 kB / 0.9423 GB, free: 15.26 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.271e-06/0.6253, allocations: 3.938 kB / 0.9423 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.6253, allocations: 8 kB / 0.9423 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.6253, allocations: 4 kB / 0.9423 GB, free: 15.24 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.6253, allocations: 4.156 kB / 0.9423 GB, free: 15.24 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005797/0.6259, allocations: 335.3 kB / 0.9426 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.626, allocations: 120.7 kB / 0.9427 GB, free: 14.74 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.484e-05/0.626, allocations: 4 kB / 0.9427 GB, free: 14.74 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.6262, allocations: 7.984 kB / 0.9427 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.6263, allocations: 15.92 kB / 0.9428 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.6263, allocations: 4.125 kB / 0.9428 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002354/0.6265, allocations: 233.9 kB / 0.943 GB, free: 14.49 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6265, allocations: 4.062 kB / 0.943 GB, free: 14.48 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004836/0.627, allocations: 91.94 kB / 0.9431 GB, free: 14.39 MB / 0.7169 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.0006061/0.6276, allocations: 227.3 kB / 0.9433 GB, free: 14.17 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004017/0.628, allocations: 151.7 kB / 0.9434 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.6281, allocations: 0 / 0.9434 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.6282, allocations: 60.7 kB / 0.9435 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007704/0.629, allocations: 140 kB / 0.9436 GB, free: 13.83 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000868/0.6299, allocations: 0.5248 MB / 0.9441 GB, free: 13.26 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.6302, allocations: 0.7558 MB / 0.9449 GB, free: 12.48 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.608e-05/0.6303, allocations: 31.44 kB / 0.9449 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of SimCode: time 3.2e-07/0.6303, allocations: 0 / 0.9449 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of Templates: time 0.008657/0.6389, allocations: 5.251 MB / 0.95 GB, free: 7.246 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.makefile (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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)