Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.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.SpecificEnthalpy,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy",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.001522/0.001522, allocations: 103.4 kB / 16.27 MB, free: 5.93 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.001478/0.001478, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.281/1.281, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7485/0.7485, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001375, allocations: 59.91 kB / 0.4912 GB, free: 7.359 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3359, allocations: 77.93 MB / 0.5673 GB, free: 32.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.157/0.493, allocations: 161.3 MB / 0.7248 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005161/0.4982, allocations: 4.548 MB / 0.7293 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003435/0.4985, allocations: 11.94 kB / 0.7293 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004221/0.499, allocations: 123.1 kB / 0.7294 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0007883/0.4998, allocations: 334.4 kB / 0.7297 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007159/0.5006, allocations: 282 kB / 0.73 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005877/0.5012, allocations: 0.5572 MB / 0.7305 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000334/0.5015, allocations: 201.1 kB / 0.7307 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008487/0.5024, allocations: 458.3 kB / 0.7312 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002773/0.5027, allocations: 195.2 kB / 0.7314 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.783e-05/0.5027, allocations: 16 kB / 0.7314 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001724/0.5029, allocations: 79.88 kB / 0.7315 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.597e-05/0.503, allocations: 87.77 kB / 0.7315 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.5031, allocations: 115.4 kB / 0.7316 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003315/0.5035, allocations: 295 kB / 0.7319 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.5035, allocations: 0 / 0.7319 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.041e-06/0.5035, allocations: 0 / 0.7319 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.5035, allocations: 0 / 0.7319 GB, free: 1.664 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.000737/0.5042, allocations: 0.5372 MB / 0.7325 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.5043, allocations: 8.625 kB / 0.7325 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.267e-05/0.5044, allocations: 54.55 kB / 0.7325 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.43e-05/0.5044, allocations: 35.56 kB / 0.7325 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003461/0.5048, allocations: 271.3 kB / 0.7328 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.5048, allocations: 16 kB / 0.7328 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.724e-05/0.5048, allocations: 20 kB / 0.7328 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004266/0.5053, allocations: 266 kB / 0.7331 GB, free: 344 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.5053, allocations: 3.938 kB / 0.7331 GB, free: 340 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.5053, allocations: 4 kB / 0.7331 GB, free: 336 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.5053, allocations: 8 kB / 0.7331 GB, free: 328 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000337/0.5057, allocations: 151.8 kB / 0.7333 GB, free: 176 kB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/0.507, allocations: 1.367 MB / 0.7346 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002777/0.5073, allocations: 179.7 kB / 0.7348 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.5074, allocations: 101.1 kB / 0.7349 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003453/0.5078, allocations: 125 kB / 0.735 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.5078, allocations: 38.44 kB / 0.735 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.402e-06/0.5078, allocations: 0 / 0.735 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0005983/0.5084, allocations: 209.7 kB / 0.7352 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.553e-05/0.5085, allocations: 183.9 kB / 0.7354 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002599/0.5088, allocations: 291 kB / 0.7357 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.5088, allocations: 25.7 kB / 0.7357 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.5089, allocations: 151.8 kB / 0.7358 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.509, allocations: 35.7 kB / 0.7359 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.683e-05/0.509, allocations: 41.7 kB / 0.7359 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.5091, allocations: 330.8 kB / 0.7362 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.5093, allocations: 43.97 kB / 0.7363 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/0.5095, allocations: 125.6 kB / 0.7364 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002858/0.5098, allocations: 154.7 kB / 0.7365 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.5098, allocations: 4 kB / 0.7365 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003743/0.5102, allocations: 189.1 kB / 0.7367 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.5102, allocations: 4.219 kB / 0.7367 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.5102, allocations: 8 kB / 0.7367 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.5102, allocations: 7.938 kB / 0.7367 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.5104, allocations: 35.92 kB / 0.7368 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.5104, allocations: 3.938 kB / 0.7368 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.5106, allocations: 27.73 kB / 0.7368 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.5106, allocations: 12 kB / 0.7368 GB, free: 12.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 15 * 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.0001241/0.5107, allocations: 142.5 kB / 0.7369 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.5108, allocations: 31.66 kB / 0.737 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003198/0.5112, allocations: 135.3 kB / 0.7371 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.5112, allocations: 0 / 0.7371 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.5112, allocations: 4 kB / 0.7371 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.5112, allocations: 0 / 0.7371 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007556/0.512, allocations: 0.7769 MB / 0.7379 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.512, allocations: 0 / 0.7379 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001277/0.5121, allocations: 27.92 kB / 0.7379 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.5121, allocations: 0 / 0.7379 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.5121, allocations: 4 kB / 0.7379 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.5121, allocations: 0 / 0.7379 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.5122, allocations: 4 kB / 0.7379 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004931/0.5127, allocations: 339.5 kB / 0.7382 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.677e-05/0.5128, allocations: 112.9 kB / 0.7383 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.5128, allocations: 3.984 kB / 0.7383 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.5129, allocations: 12 kB / 0.7384 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/0.513, allocations: 15.86 kB / 0.7384 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.513, allocations: 4 kB / 0.7384 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001822/0.5132, allocations: 209.9 kB / 0.7386 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5132, allocations: 0 / 0.7386 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003281/0.5135, allocations: 59.84 kB / 0.7386 GB, free: 10.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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.0009222/0.5144, allocations: 0.9068 MB / 0.7395 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003311/0.5148, allocations: 132.2 kB / 0.7396 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/0.5148, allocations: 0 / 0.7396 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.5149, allocations: 59.84 kB / 0.7397 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000722/0.5157, allocations: 136.8 kB / 0.7398 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00303/0.5187, allocations: 2.598 MB / 0.7424 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.519, allocations: 0.7597 MB / 0.7431 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000157/0.5192, allocations: 50.25 kB / 0.7432 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.257e-05/0.5193, allocations: 67.41 kB / 0.7432 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of SimCode: time 3.4e-07/0.5193, allocations: 0 / 0.7432 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4715/0.9908, allocations: 6.774 MB / 0.7498 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.214/9.205, allocations: 5.5 kB / 0.7498 GB, free: 173.1 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)