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: "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004626/0.004626, allocations: 98.53 kB / 15.73 MB, free: 6.039 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.001025/0.001025, allocations: 199.9 kB / 16.68 MB, free: 5.973 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.272/1.272, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002168/0.002168, allocations: 286.4 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.875/0.875, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001732/0.001732, allocations: 96.28 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1543, allocations: 86.99 MB / 0.7659 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.5116/0.666, allocations: 163.2 MB / 0.9253 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.005332/0.6713, allocations: 4.584 MB / 0.9298 GB, free: 11.28 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003053/0.6717, allocations: 7.938 kB / 0.9298 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0004302/0.6721, allocations: 127 kB / 0.9299 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001262/0.6734, allocations: 0.5406 MB / 0.9304 GB, free: 10.6 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00173/0.6752, allocations: 0.7731 MB / 0.9312 GB, free: 9.828 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0007162/0.6759, allocations: 0.5729 MB / 0.9318 GB, free: 9.254 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003945/0.6763, allocations: 213.2 kB / 0.932 GB, free: 9.047 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009977/0.6773, allocations: 466.2 kB / 0.9324 GB, free: 8.59 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006071/0.6779, allocations: 289.7 kB / 0.9327 GB, free: 8.309 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 4.63e-05/0.678, allocations: 16 kB / 0.9327 GB, free: 8.293 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001554/0.6795, allocations: 1.005 MB / 0.9337 GB, free: 7.285 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.6797, allocations: 95.7 kB / 0.9338 GB, free: 7.191 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001553/0.6798, allocations: 119.4 kB / 0.9339 GB, free: 7.074 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001126/0.681, allocations: 0.7169 MB / 0.9346 GB, free: 6.355 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.681, allocations: 4 kB / 0.9346 GB, free: 6.352 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.385e-06/0.681, allocations: 4 kB / 0.9346 GB, free: 6.348 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.681, allocations: 0 / 0.9346 GB, free: 6.348 MB / 0.6856 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.001033/0.682, allocations: 0.5918 MB / 0.9352 GB, free: 5.707 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.6821, allocations: 12.03 kB / 0.9352 GB, free: 5.695 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.909e-05/0.6822, allocations: 54.55 kB / 0.9352 GB, free: 5.633 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006708/0.6828, allocations: 76.03 kB / 0.9353 GB, free: 5.559 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004241/0.6833, allocations: 299.2 kB / 0.9356 GB, free: 5.227 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.6833, allocations: 19.95 kB / 0.9356 GB, free: 5.207 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.136e-05/0.6834, allocations: 23.94 kB / 0.9356 GB, free: 5.184 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004645/0.6838, allocations: 283.4 kB / 0.9359 GB, free: 4.879 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.6839, allocations: 5.5 kB / 0.9359 GB, free: 4.875 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.334e-05/0.6839, allocations: 7.984 kB / 0.9359 GB, free: 4.867 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.6839, allocations: 11.94 kB / 0.9359 GB, free: 4.855 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003954/0.6843, allocations: 203.8 kB / 0.9361 GB, free: 4.656 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001501/0.6858, allocations: 1.234 MB / 0.9373 GB, free: 3.34 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002705/0.6861, allocations: 169 kB / 0.9375 GB, free: 3.129 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001856/0.6863, allocations: 116.4 kB / 0.9376 GB, free: 3 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007216/0.687, allocations: 327.2 kB / 0.9379 GB, free: 2.625 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.6871, allocations: 42.56 kB / 0.938 GB, free: 2.574 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=13): time 1.293e-06/0.6871, allocations: 0 / 0.938 GB, free: 2.574 MB / 0.6856 GB Notification: Performance of matching and sorting (n=13): time 0.0006994/0.6878, allocations: 277 kB / 0.9382 GB, free: 2.297 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.536e-05/0.6879, allocations: 170.7 kB / 0.9384 GB, free: 2.094 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/0.6881, allocations: 279 kB / 0.9386 GB, free: 1.816 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.6882, allocations: 29.7 kB / 0.9387 GB, free: 1.781 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.6883, allocations: 147.8 kB / 0.9388 GB, free: 1.633 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.233e-05/0.6883, allocations: 55.28 kB / 0.9389 GB, free: 1.578 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.52e-05/0.6884, allocations: 37.7 kB / 0.9389 GB, free: 1.535 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.6885, allocations: 338.8 kB / 0.9392 GB, free: 1.195 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.6887, allocations: 71.94 kB / 0.9393 GB, free: 1.125 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002088/0.6889, allocations: 142.4 kB / 0.9394 GB, free: 0.957 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00034/0.6892, allocations: 211.5 kB / 0.9396 GB, free: 0.7227 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.6893, allocations: 4 kB / 0.9396 GB, free: 0.7188 MB / 0.6856 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004738/0.6897, allocations: 242.4 kB / 0.9399 GB, free: 488 kB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.6898, allocations: 4 kB / 0.9399 GB, free: 484 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.6898, allocations: 4 kB / 0.9399 GB, free: 480 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.393e-05/0.6898, allocations: 6 kB / 0.9399 GB, free: 476 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000185/0.69, allocations: 48.16 kB / 0.9399 GB, free: 428 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.69, allocations: 0 / 0.9399 GB, free: 428 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.6902, allocations: 28.11 kB / 0.94 GB, free: 400 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.168e-05/0.6903, allocations: 15.94 kB / 0.94 GB, free: 384 kB / 0.6856 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.0001238/0.6904, allocations: 149.7 kB / 0.9401 GB, free: 224 kB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/0.6906, allocations: 27.72 kB / 0.9401 GB, free: 196 kB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004318/0.691, allocations: 196.8 kB / 0.9403 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.691, allocations: 7.984 kB / 0.9403 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.691, allocations: 3.562 kB / 0.9403 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.691, allocations: 4 kB / 0.9403 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009208/0.692, allocations: 0.8549 MB / 0.9412 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.692, allocations: 160 / 0.9412 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.6921, allocations: 31.92 kB / 0.9412 GB, free: 15.01 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.6921, allocations: 3.938 kB / 0.9412 GB, free: 15.01 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.6921, allocations: 8 kB / 0.9412 GB, free: 15 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.6921, allocations: 0 / 0.9412 GB, free: 15 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-06/0.6921, allocations: 7.984 kB / 0.9412 GB, free: 14.99 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005176/0.6927, allocations: 327.4 kB / 0.9415 GB, free: 14.64 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 9.825e-05/0.6928, allocations: 120.7 kB / 0.9417 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.187e-05/0.6928, allocations: 8 kB / 0.9417 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.693, allocations: 4 kB / 0.9417 GB, free: 14.49 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/0.693, allocations: 19.98 kB / 0.9417 GB, free: 14.47 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.693, allocations: 4 kB / 0.9417 GB, free: 14.47 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0002215/0.6933, allocations: 233.9 kB / 0.9419 GB, free: 14.24 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6933, allocations: 0 / 0.9419 GB, free: 14.24 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0004246/0.6937, allocations: 95.92 kB / 0.942 GB, free: 14.15 MB / 0.7012 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.001189/0.6949, allocations: 0.9886 MB / 0.943 GB, free: 13.13 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.000367/0.6953, allocations: 160.1 kB / 0.9431 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.6953, allocations: 0 / 0.9431 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.6954, allocations: 59.84 kB / 0.9432 GB, free: 12.92 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006958/0.6961, allocations: 136.7 kB / 0.9433 GB, free: 12.79 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003206/0.6993, allocations: 2.766 MB / 0.946 GB, free: 9.867 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.6997, allocations: 0.7556 MB / 0.9467 GB, free: 9.086 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0001812/0.6999, allocations: 70.86 kB / 0.9468 GB, free: 9.016 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.7, allocations: 75.41 kB / 0.9469 GB, free: 8.941 MB / 0.7012 GB Notification: Performance of SimCode: time 2.41e-07/0.7, allocations: 0 / 0.9469 GB, free: 8.941 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02756/0.7275, allocations: 8.745 MB / 0.9554 GB, free: 400 kB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.56/8.288, allocations: 7.75 kB / 0.9554 GB, free: 396 kB / 0.7012 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_SpecificEntropy.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)