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.001085/0.001089, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001057/0.001057, allocations: 190.7 kB / 16.25 MB, free: 6.625 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.357/1.357, allocations: 222.9 MB / 239.9 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002034/0.002034, allocations: 275.1 kB / 290.3 MB, free: 2.074 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9372/0.9372, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 98.83 kB / 0.5948 GB, free: 28.44 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1463, allocations: 86.98 MB / 0.6797 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.456/0.6023, allocations: 161 MB / 0.837 GB, free: 160 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004672/0.607, allocations: 4.55 MB / 0.8414 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004051/0.6075, allocations: 9.031 kB / 0.8414 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000398/0.6079, allocations: 102.4 kB / 0.8415 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001144/0.6091, allocations: 0.5096 MB / 0.842 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00159/0.6107, allocations: 0.71 MB / 0.8427 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005977/0.6113, allocations: 0.5782 MB / 0.8433 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002998/0.6116, allocations: 199.5 kB / 0.8435 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008925/0.6125, allocations: 454.5 kB / 0.8439 GB, free: 15 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004948/0.613, allocations: 306.3 kB / 0.8442 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.278e-05/0.6131, allocations: 18.09 kB / 0.8442 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001495/0.6146, allocations: 1.047 MB / 0.8452 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.203e-05/0.6147, allocations: 91.11 kB / 0.8453 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.6148, allocations: 130.8 kB / 0.8454 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009932/0.6158, allocations: 0.7737 MB / 0.8462 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.6158, allocations: 0 / 0.8462 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.258e-06/0.6158, allocations: 0 / 0.8462 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.6158, allocations: 3.938 kB / 0.8462 GB, free: 14.12 MB / 0.5762 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.0008286/0.6167, allocations: 0.5912 MB / 0.8468 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.6167, allocations: 10.09 kB / 0.8468 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.466e-05/0.6168, allocations: 52.17 kB / 0.8468 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006348/0.6174, allocations: 81.56 kB / 0.8469 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003351/0.6178, allocations: 297.1 kB / 0.8472 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.6178, allocations: 14.19 kB / 0.8472 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.953e-05/0.6178, allocations: 25.38 kB / 0.8472 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004453/0.6183, allocations: 284.4 kB / 0.8475 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.6183, allocations: 0 / 0.8475 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.296e-05/0.6183, allocations: 7 kB / 0.8475 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.6183, allocations: 9.469 kB / 0.8475 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000389/0.6187, allocations: 208.2 kB / 0.8477 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.6202, allocations: 1.236 MB / 0.8489 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002786/0.6205, allocations: 178.6 kB / 0.8491 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/0.6207, allocations: 115.6 kB / 0.8492 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007507/0.6214, allocations: 331.8 kB / 0.8495 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.6215, allocations: 41.06 kB / 0.8496 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.372e-06/0.6215, allocations: 0 / 0.8496 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0007148/0.6222, allocations: 280 kB / 0.8498 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.772e-05/0.6223, allocations: 157.3 kB / 0.85 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002419/0.6225, allocations: 293.5 kB / 0.8502 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.6226, allocations: 29.7 kB / 0.8503 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.635e-05/0.6227, allocations: 144.5 kB / 0.8504 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.846e-05/0.6227, allocations: 44.73 kB / 0.8505 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.981e-05/0.6228, allocations: 41.52 kB / 0.8505 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.6229, allocations: 338.8 kB / 0.8508 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.6231, allocations: 68.94 kB / 0.8509 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002064/0.6233, allocations: 152.8 kB / 0.851 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003285/0.6236, allocations: 207.2 kB / 0.8512 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.6236, allocations: 0 / 0.8512 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004725/0.6241, allocations: 244.4 kB / 0.8515 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.6241, allocations: 5.438 kB / 0.8515 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.6241, allocations: 2.656 kB / 0.8515 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.6242, allocations: 6.469 kB / 0.8515 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.6244, allocations: 40.64 kB / 0.8515 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.6244, allocations: 5.031 kB / 0.8515 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001905/0.6246, allocations: 35.27 kB / 0.8516 GB, free: 9.559 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.897e-05/0.6246, allocations: 17.89 kB / 0.8516 GB, free: 9.551 MB / 0.5762 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.0001264/0.6247, allocations: 148 kB / 0.8517 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.6249, allocations: 30.44 kB / 0.8517 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004377/0.6253, allocations: 191.8 kB / 0.8519 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.6253, allocations: 0 / 0.8519 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.6253, allocations: 2.969 kB / 0.8519 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.6254, allocations: 2.656 kB / 0.8519 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008753/0.6262, allocations: 0.8559 MB / 0.8528 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.6263, allocations: 0 / 0.8528 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.6264, allocations: 34.61 kB / 0.8528 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.6264, allocations: 6.469 kB / 0.8528 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.6264, allocations: 6.375 kB / 0.8528 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.6264, allocations: 2.938 kB / 0.8528 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.6264, allocations: 0 / 0.8528 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004957/0.6269, allocations: 338.3 kB / 0.8531 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.151e-05/0.627, allocations: 118.2 kB / 0.8532 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.168e-05/0.6271, allocations: 6.422 kB / 0.8533 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.6272, allocations: 5.188 kB / 0.8533 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/0.6273, allocations: 22.7 kB / 0.8533 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.6273, allocations: 3.188 kB / 0.8533 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002074/0.6275, allocations: 232.9 kB / 0.8535 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6275, allocations: 0 / 0.8535 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004402/0.628, allocations: 96.8 kB / 0.8536 GB, free: 7.844 MB / 0.5762 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.0011/0.6291, allocations: 0.9757 MB / 0.8546 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003737/0.6294, allocations: 165.3 kB / 0.8547 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.6295, allocations: 3.938 kB / 0.8547 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.6296, allocations: 52.94 kB / 0.8548 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007494/0.6304, allocations: 147.4 kB / 0.8549 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003077/0.6334, allocations: 2.814 MB / 0.8577 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.6337, allocations: 0.7644 MB / 0.8584 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002055/0.6339, allocations: 62.12 kB / 0.8585 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.6341, allocations: 74.22 kB / 0.8585 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of SimCode: time 4.91e-07/0.6341, allocations: 0 / 0.8585 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.213/0.8471, allocations: 8.419 MB / 0.8668 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002843/0.8474, allocations: 253.5 kB / 0.867 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.88/2.727, allocations: 0 / 0.867 GB, free: 15.46 MB / 0.5919 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)