Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="Buildings_8_Buildings_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.0009451/0.0009451, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001279/0.001279, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.841/1.841, allocations: 205.4 MB / 222.1 MB, free: 5.867 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.717/1.717, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005926/0.0005927, allocations: 19.8 kB / 0.6738 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2987, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.8844/1.183, allocations: 148.2 MB / 0.9322 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005881/1.189, allocations: 4.261 MB / 0.9363 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003561/1.19, allocations: 10.69 kB / 0.9363 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004593/1.19, allocations: 85.98 kB / 0.9364 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001428/1.191, allocations: 380.6 kB / 0.9368 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001969/1.193, allocations: 0.5239 MB / 0.9373 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001097/1.195, allocations: 0.6822 MB / 0.938 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003512/1.195, allocations: 163.9 kB / 0.9381 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001087/1.196, allocations: 367.1 kB / 0.9385 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006215/1.197, allocations: 275.6 kB / 0.9387 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.575e-05/1.197, allocations: 10.38 kB / 0.9387 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001414/1.198, allocations: 0.5141 MB / 0.9392 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001116/1.198, allocations: 86.97 kB / 0.9393 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003948/1.199, allocations: 70.83 kB / 0.9394 GB, free: 21.42 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006297/1.199, allocations: 410.6 kB / 0.9398 GB, free: 21.39 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/1.199, allocations: 0 / 0.9398 GB, free: 21.39 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.833e-06/1.199, allocations: 2.625 kB / 0.9398 GB, free: 21.39 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.213e-06/1.199, allocations: 0 / 0.9398 GB, free: 21.39 MB / 0.7325 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.0009553/1.2, allocations: 0.5547 MB / 0.9403 GB, free: 20.92 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/1.2, allocations: 10.95 kB / 0.9403 GB, free: 20.92 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.534e-05/1.2, allocations: 54.7 kB / 0.9404 GB, free: 20.88 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007697/1.201, allocations: 72.33 kB / 0.9405 GB, free: 20.87 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004948/1.202, allocations: 280.6 kB / 0.9407 GB, free: 20.66 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.942e-05/1.202, allocations: 18.28 kB / 0.9407 GB, free: 20.66 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.653e-05/1.202, allocations: 16.66 kB / 0.9408 GB, free: 20.66 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006241/1.202, allocations: 290.4 kB / 0.941 GB, free: 20.56 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/1.202, allocations: 5.484 kB / 0.941 GB, free: 20.55 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.243e-05/1.203, allocations: 11.94 kB / 0.9411 GB, free: 20.55 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/1.203, allocations: 4.312 kB / 0.9411 GB, free: 20.55 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006461/1.203, allocations: 217.9 kB / 0.9413 GB, free: 20.55 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002027/1.205, allocations: 1.251 MB / 0.9425 GB, free: 19.71 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003318/1.206, allocations: 179.4 kB / 0.9427 GB, free: 19.59 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002345/1.206, allocations: 126.1 kB / 0.9428 GB, free: 19.54 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007779/1.207, allocations: 339.9 kB / 0.9431 GB, free: 19.25 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/1.207, allocations: 43.36 kB / 0.9431 GB, free: 19.21 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 2.054e-06/1.207, allocations: 0 / 0.9431 GB, free: 19.21 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0008999/1.208, allocations: 292.4 kB / 0.9434 GB, free: 19.17 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/1.208, allocations: 163.2 kB / 0.9436 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003498/1.208, allocations: 284.6 kB / 0.9439 GB, free: 18.87 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.446e-05/1.208, allocations: 30.98 kB / 0.9439 GB, free: 18.84 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/1.208, allocations: 144.3 kB / 0.944 GB, free: 18.75 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.324e-05/1.208, allocations: 46.05 kB / 0.9441 GB, free: 18.72 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.124e-05/1.208, allocations: 4.719 kB / 0.9441 GB, free: 18.72 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001497/1.209, allocations: 335 kB / 0.9444 GB, free: 18.41 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/1.209, allocations: 78.33 kB / 0.9445 GB, free: 18.4 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002329/1.209, allocations: 150.7 kB / 0.9446 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/1.209, allocations: 86.28 kB / 0.9447 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/1.209, allocations: 3.906 kB / 0.9447 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005565/1.21, allocations: 254.3 kB / 0.9449 GB, free: 18.26 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/1.21, allocations: 6.219 kB / 0.9449 GB, free: 18.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/1.21, allocations: 5.625 kB / 0.9449 GB, free: 18.26 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/1.21, allocations: 4.062 kB / 0.945 GB, free: 18.26 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002116/1.21, allocations: 43.02 kB / 0.945 GB, free: 18.26 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/1.21, allocations: 8.141 kB / 0.945 GB, free: 18.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000223/1.21, allocations: 31.44 kB / 0.945 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.858e-05/1.21, allocations: 9.062 kB / 0.945 GB, free: 18.25 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001806/1.21, allocations: 152.5 kB / 0.9452 GB, free: 18.13 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/1.211, allocations: 29.78 kB / 0.9452 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005244/1.211, allocations: 201.2 kB / 0.9454 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/1.211, allocations: 6.625 kB / 0.9454 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/1.211, allocations: 1.812 kB / 0.9454 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/1.211, allocations: 1.812 kB / 0.9454 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/1.212, allocations: 0.8689 MB / 0.9463 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/1.212, allocations: 1.531 kB / 0.9463 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/1.213, allocations: 25.81 kB / 0.9463 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-06/1.213, allocations: 2.75 kB / 0.9463 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/1.213, allocations: 2.219 kB / 0.9463 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/1.213, allocations: 1.906 kB / 0.9463 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.872e-06/1.213, allocations: 4.719 kB / 0.9463 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007221/1.213, allocations: 366.7 kB / 0.9467 GB, free: 17.19 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/1.213, allocations: 117.9 kB / 0.9468 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.332e-05/1.214, allocations: 2.938 kB / 0.9468 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/1.214, allocations: 19.95 kB / 0.9468 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.539e-05/1.214, allocations: 10.89 kB / 0.9468 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/1.214, allocations: 7.844 kB / 0.9468 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003646/1.214, allocations: 235.9 kB / 0.947 GB, free: 17 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/1.214, allocations: 0.5 kB / 0.947 GB, free: 17 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000667/1.215, allocations: 88.34 kB / 0.9471 GB, free: 16.99 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001674/1.217, allocations: 0.9791 MB / 0.9481 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005111/1.217, allocations: 160.8 kB / 0.9482 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.217, allocations: 0 / 0.9482 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001472/1.217, allocations: 63.78 kB / 0.9483 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007844/1.218, allocations: 130.8 kB / 0.9484 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002552/1.221, allocations: 1.596 MB / 0.95 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/1.221, allocations: 0.7573 MB / 0.9507 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002602/1.221, allocations: 70.83 kB / 0.9508 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/1.221, allocations: 71.41 kB / 0.9508 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of SimCode: time 1.152e-06/1.221, allocations: 0 / 0.9508 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02347/1.245, allocations: 7.906 MB / 0.9586 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002089/1.245, allocations: 230.7 kB / 0.9588 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.007/3.252, allocations: 0.5 kB / 0.9588 GB, free: 13.96 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEntropy.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) Environment - environmentSimulation: