Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="IBPSA_latest_IBPSA_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.001476/0.001476, allocations: 106.5 kB / 16.27 MB, free: 6.414 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.0013/0.0013, allocations: 188.9 kB / 17.2 MB, free: 5.949 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.294/1.294, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7277/0.7277, allocations: 122.8 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 63.91 kB / 0.4912 GB, free: 7.375 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3253, allocations: 77.92 MB / 0.5673 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEntropy): time 0.1666/0.4919, allocations: 163.2 MB / 0.7267 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005907/0.4978, allocations: 4.57 MB / 0.7311 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005558/0.4984, allocations: 11.94 kB / 0.7312 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005103/0.499, allocations: 127.1 kB / 0.7313 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001533/0.5006, allocations: 0.5406 MB / 0.7318 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001816/0.5024, allocations: 0.7572 MB / 0.7325 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007164/0.5032, allocations: 0.5845 MB / 0.7331 GB, free: 468 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003874/0.5036, allocations: 205.2 kB / 0.7333 GB, free: 264 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001014/0.5046, allocations: 474.1 kB / 0.7338 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007656/0.5054, allocations: 298.9 kB / 0.734 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.343e-05/0.5054, allocations: 16 kB / 0.7341 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001855/0.5073, allocations: 1.002 MB / 0.735 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.5074, allocations: 91.72 kB / 0.7351 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001645/0.5076, allocations: 119.4 kB / 0.7352 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001396/0.509, allocations: 0.7052 MB / 0.7359 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.509, allocations: 4 kB / 0.7359 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.222e-06/0.509, allocations: 0 / 0.7359 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.5091, allocations: 0 / 0.7359 GB, free: 13.56 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.0009555/0.51, allocations: 0.5995 MB / 0.7365 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.5101, allocations: 8.625 kB / 0.7365 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.57e-05/0.5101, allocations: 54.55 kB / 0.7366 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006908/0.5108, allocations: 75.58 kB / 0.7367 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003879/0.5112, allocations: 287.3 kB / 0.7369 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.5113, allocations: 12 kB / 0.7369 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.708e-05/0.5113, allocations: 24 kB / 0.737 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004776/0.5118, allocations: 295.3 kB / 0.7372 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.5118, allocations: 0 / 0.7372 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.419e-05/0.5118, allocations: 7.938 kB / 0.7372 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.5119, allocations: 8 kB / 0.7373 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004317/0.5123, allocations: 211.5 kB / 0.7375 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001543/0.5138, allocations: 1.242 MB / 0.7387 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000276/0.5141, allocations: 169 kB / 0.7388 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/0.5143, allocations: 112.2 kB / 0.7389 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007573/0.5151, allocations: 331.2 kB / 0.7393 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.5151, allocations: 42.67 kB / 0.7393 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.5152, allocations: 0 / 0.7393 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0007621/0.5159, allocations: 277.5 kB / 0.7396 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.334e-05/0.516, allocations: 162.2 kB / 0.7397 GB, free: 9.316 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002909/0.5163, allocations: 287 kB / 0.74 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/0.5163, allocations: 25.7 kB / 0.74 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.915e-05/0.5164, allocations: 152.1 kB / 0.7402 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.195e-05/0.5165, allocations: 51.3 kB / 0.7402 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.88e-05/0.5166, allocations: 45.83 kB / 0.7402 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.5167, allocations: 334.8 kB / 0.7406 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.5169, allocations: 71.83 kB / 0.7406 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002256/0.5171, allocations: 148.5 kB / 0.7408 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003692/0.5175, allocations: 211.5 kB / 0.741 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.5175, allocations: 0 / 0.741 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005259/0.518, allocations: 249.3 kB / 0.7412 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.5181, allocations: 4 kB / 0.7412 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.5181, allocations: 7.938 kB / 0.7412 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.5181, allocations: 0 / 0.7412 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002014/0.5183, allocations: 39.97 kB / 0.7413 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.5183, allocations: 0 / 0.7413 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.5185, allocations: 35.67 kB / 0.7413 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-05/0.5185, allocations: 8 kB / 0.7413 GB, free: 7.582 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.000136/0.5187, allocations: 153.8 kB / 0.7415 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/0.5189, allocations: 27.7 kB / 0.7415 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004696/0.5193, allocations: 193.7 kB / 0.7417 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.5194, allocations: 4 kB / 0.7417 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.5194, allocations: 3.938 kB / 0.7417 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.5194, allocations: 3.938 kB / 0.7417 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009981/0.5204, allocations: 0.8472 MB / 0.7425 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.5204, allocations: 0 / 0.7425 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001257/0.5205, allocations: 27.92 kB / 0.7425 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.5205, allocations: 0 / 0.7425 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.5206, allocations: 7.984 kB / 0.7425 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.5206, allocations: 0 / 0.7425 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.5206, allocations: 4 kB / 0.7425 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005666/0.5211, allocations: 343.5 kB / 0.7429 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.5213, allocations: 116.7 kB / 0.743 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.407e-05/0.5213, allocations: 0 / 0.743 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/0.5215, allocations: 15.98 kB / 0.743 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.658e-05/0.5215, allocations: 4 kB / 0.743 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.5216, allocations: 4 kB / 0.743 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002466/0.5218, allocations: 241.9 kB / 0.7432 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5218, allocations: 0 / 0.7432 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000491/0.5223, allocations: 92.06 kB / 0.7433 GB, free: 5.367 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.001395/0.5237, allocations: 1.003 MB / 0.7443 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004172/0.5241, allocations: 151.8 kB / 0.7444 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.5242, allocations: 4 kB / 0.7445 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001653/0.5243, allocations: 59.89 kB / 0.7445 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007975/0.5251, allocations: 130.8 kB / 0.7446 GB, free: 4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003654/0.5288, allocations: 2.774 MB / 0.7473 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/0.5292, allocations: 0.7596 MB / 0.7481 GB, free: 280 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002215/0.5294, allocations: 58.89 kB / 0.7481 GB, free: 224 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.5296, allocations: 79.41 kB / 0.7482 GB, free: 148 kB / 0.5762 GB Notification: Performance of SimCode: time 9.12e-07/0.5296, allocations: 0 / 0.7482 GB, free: 148 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5078/1.037, allocations: 8.525 MB / 0.7565 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.088/9.125, allocations: 13.31 kB / 0.7566 GB, free: 171.3 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEntropy.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)