Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 179.7 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.536/0.536, allocations: 90.81 MB / 104.5 MB, free: 9.785 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 221.3 MB / 348.3 MB, free: 440 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 93.53 kB / 421.2 MB, free: 5.457 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.413e-05/3.427e-05, allocations: 4 kB / 0.4897 GB, free: 5.242 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.382/0.382, allocations: 72.3 MB / 0.5603 GB, free: 40.39 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7363/1.118, allocations: 353.9 MB / 0.9059 GB, free: 12 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/1.119, allocations: 82.52 kB / 0.906 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.005/7.124, allocations: 1.534 GB / 2.44 GB, free: 88.19 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.384e-06/7.124, allocations: 0 / 2.44 GB, free: 88.19 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.000145/7.124, allocations: 51.34 kB / 2.44 GB, free: 88.18 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.003542/7.128, allocations: 1.874 MB / 2.442 GB, free: 87.25 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/7.128, allocations: 11.77 kB / 2.442 GB, free: 87.25 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001984/7.128, allocations: 155 kB / 2.442 GB, free: 87.21 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002804/7.131, allocations: 0.6101 MB / 2.443 GB, free: 87.11 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003309/7.134, allocations: 1.439 MB / 2.444 GB, free: 86.69 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.565e-05/7.134, allocations: 80.38 kB / 2.444 GB, free: 86.69 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001729/7.134, allocations: 117.2 kB / 2.444 GB, free: 86.69 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001816/7.136, allocations: 1.198 MB / 2.446 GB, free: 86.47 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.579e-05/7.136, allocations: 5.453 kB / 2.446 GB, free: 86.47 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/7.136, allocations: 44.58 kB / 2.446 GB, free: 86.47 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.126e-05/7.136, allocations: 24.34 kB / 2.446 GB, free: 86.47 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001439/7.138, allocations: 0.9009 MB / 2.446 GB, free: 86.46 MB / 0.6355 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008441/7.146, allocations: 6.642 MB / 2.453 GB, free: 82.58 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/7.148, allocations: 0.9298 MB / 2.454 GB, free: 82.54 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006863/7.149, allocations: 0.5174 MB / 2.454 GB, free: 82.54 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001459/7.15, allocations: 2.256 MB / 2.457 GB, free: 80 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008132/7.151, allocations: 0.6704 MB / 2.457 GB, free: 79.86 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=97): time 2.996e-06/7.151, allocations: 0 / 2.457 GB, free: 79.86 MB / 0.6355 GB Notification: Performance of matching and sorting (n=97): time 0.002188/7.153, allocations: 1.313 MB / 2.459 GB, free: 79.62 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/7.153, allocations: 142.9 kB / 2.459 GB, free: 79.46 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/7.154, allocations: 1.04 MB / 2.46 GB, free: 79.3 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.276e-05/7.155, allocations: 46.33 kB / 2.46 GB, free: 79.27 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004553/7.155, allocations: 0.7033 MB / 2.46 GB, free: 79.05 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002379/7.155, allocations: 321.1 kB / 2.461 GB, free: 78.84 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.815e-05/7.155, allocations: 22.84 kB / 2.461 GB, free: 78.84 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.456e-05/7.155, allocations: 345.7 kB / 2.461 GB, free: 78.54 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005733/7.156, allocations: 420.8 kB / 2.461 GB, free: 78.54 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007203/7.157, allocations: 0.7109 MB / 2.462 GB, free: 78.23 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006566/7.157, allocations: 0.5555 MB / 2.463 GB, free: 78.11 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/7.157, allocations: 3.906 kB / 2.463 GB, free: 78.11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.002122/7.159, allocations: 1.496 MB / 2.464 GB, free: 77.89 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004374/7.16, allocations: 2.253 MB / 2.466 GB, free: 75.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/7.16, allocations: 3.375 kB / 2.466 GB, free: 75.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.599e-05/7.16, allocations: 11.38 kB / 2.466 GB, free: 75.52 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/7.161, allocations: 296.9 kB / 2.467 GB, free: 75.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.667e-05/7.161, allocations: 16.23 kB / 2.467 GB, free: 75.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/7.163, allocations: 240.3 kB / 2.467 GB, free: 75.46 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/7.163, allocations: 61.08 kB / 2.467 GB, free: 75.46 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/7.163, allocations: 12.17 kB / 2.467 GB, free: 75.46 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001932/7.165, allocations: 1.408 MB / 2.468 GB, free: 75.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/7.165, allocations: 9.469 kB / 2.468 GB, free: 75.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/7.165, allocations: 12.56 kB / 2.468 GB, free: 75.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/7.166, allocations: 291.9 kB / 2.469 GB, free: 75.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/7.166, allocations: 11.84 kB / 2.469 GB, free: 75.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001547/7.168, allocations: 237.8 kB / 2.469 GB, free: 75.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/7.168, allocations: 65.94 kB / 2.469 GB, free: 75.3 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 3 * 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.0003278/7.168, allocations: 276.4 kB / 2.469 GB, free: 75.1 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002184/7.168, allocations: 159 kB / 2.469 GB, free: 75.02 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003152/7.171, allocations: 2.011 MB / 2.471 GB, free: 74.8 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.578e-05/7.171, allocations: 22.59 kB / 2.471 GB, free: 74.8 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/7.171, allocations: 0 / 2.471 GB, free: 74.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/7.171, allocations: 3.844 kB / 2.471 GB, free: 74.8 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004719/7.176, allocations: 3.348 MB / 2.475 GB, free: 74.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/7.176, allocations: 3.875 kB / 2.475 GB, free: 74.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/7.177, allocations: 228.1 kB / 2.475 GB, free: 74.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.069e-05/7.177, allocations: 2.781 kB / 2.475 GB, free: 74.27 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.692e-05/7.177, allocations: 49.67 kB / 2.475 GB, free: 74.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/7.177, allocations: 2.938 kB / 2.475 GB, free: 74.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/7.177, allocations: 3.938 kB / 2.475 GB, free: 74.27 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003196/7.181, allocations: 2.692 MB / 2.478 GB, free: 73.76 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007031/7.181, allocations: 406 kB / 2.478 GB, free: 73.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002005/7.182, allocations: 26.94 kB / 2.478 GB, free: 73.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/7.183, allocations: 172.7 kB / 2.478 GB, free: 73.56 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/7.183, allocations: 70.95 kB / 2.478 GB, free: 73.56 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/7.183, allocations: 54.78 kB / 2.478 GB, free: 73.56 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000975/7.184, allocations: 0.7991 MB / 2.479 GB, free: 73.44 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.4e-07/7.184, allocations: 2.125 kB / 2.479 GB, free: 73.44 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002334/7.186, allocations: 0.9219 MB / 2.48 GB, free: 73.33 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 9 (heaHigPow.outCon.T,heaHigPowOut.T,cooLimPowOut.T,cooLimPow.outCon.T,heaCooUnl.outCon.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 19 * 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.004696/7.191, allocations: 4.342 MB / 2.484 GB, free: 71.84 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002733/7.194, allocations: 2.309 MB / 2.486 GB, free: 71.43 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/7.194, allocations: 3.75 kB / 2.486 GB, free: 71.43 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0008651/7.195, allocations: 0.9034 MB / 2.487 GB, free: 71.24 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002699/7.197, allocations: 0.5928 MB / 2.488 GB, free: 71.23 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005013/7.202, allocations: 3.08 MB / 2.491 GB, free: 70.46 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005881/7.203, allocations: 1.315 MB / 2.492 GB, free: 69.71 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001852/7.205, allocations: 496.2 kB / 2.493 GB, free: 69.64 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006706/7.206, allocations: 0.6376 MB / 2.493 GB, free: 69.63 MB / 0.6355 GB Notification: Performance of SimCode: time 1.032e-06/7.206, allocations: 0 / 2.493 GB, free: 69.63 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08164/7.287, allocations: 53.62 MB / 2.546 GB, free: 41.85 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001768/7.287, allocations: 201.9 kB / 2.546 GB, free: 41.63 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.368/11.66, allocations: 0 / 2.546 GB, free: 41.63 MB / 0.6355 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe 2>&1)