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.0008692/0.0008688, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4769/0.4769, allocations: 90.91 MB / 99.34 MB, free: 2.18 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 221.5 MB / 343.2 MB, free: 1.566 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001027, allocations: 94.86 kB / 415.9 MB, free: 11.1 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.793e-05/1.763e-05, allocations: 4 kB / 494.6 MB, free: 52.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1299, allocations: 72.31 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.048/1.178, allocations: 353.3 MB / 0.8986 GB, free: 126.5 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003057/1.178, allocations: 86.33 kB / 0.8987 GB, free: 126.5 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.032/7.21, allocations: 1.527 GB / 2.426 GB, free: 53.03 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.393e-06/7.21, allocations: 3.656 kB / 2.426 GB, free: 53.03 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002012/7.21, allocations: 52.16 kB / 2.426 GB, free: 53.03 MB / 0.6198 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.004286/7.215, allocations: 1.875 MB / 2.428 GB, free: 52.35 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/7.215, allocations: 7.625 kB / 2.428 GB, free: 52.35 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00348/7.218, allocations: 0.6065 MB / 2.428 GB, free: 52.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004069/7.222, allocations: 1.438 MB / 2.43 GB, free: 51.92 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.487e-05/7.222, allocations: 30.03 kB / 2.43 GB, free: 51.92 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002086/7.222, allocations: 66.98 kB / 2.43 GB, free: 51.92 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001784/7.224, allocations: 0.8314 MB / 2.431 GB, free: 51.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002095/7.226, allocations: 1.066 MB / 2.432 GB, free: 51.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.007e-05/7.226, allocations: 3.562 kB / 2.432 GB, free: 51.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-05/7.226, allocations: 4.875 kB / 2.432 GB, free: 51.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.611e-05/7.227, allocations: 25.09 kB / 2.432 GB, free: 51.7 MB / 0.6198 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.008142/7.235, allocations: 6.454 MB / 2.438 GB, free: 47.93 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001337/7.236, allocations: 0.8983 MB / 2.439 GB, free: 47.9 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000692/7.237, allocations: 499.5 kB / 2.439 GB, free: 47.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001329/7.238, allocations: 2.259 MB / 2.442 GB, free: 45.36 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008136/7.239, allocations: 0.6378 MB / 2.442 GB, free: 45.21 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=97): time 2.895e-06/7.239, allocations: 0 / 2.442 GB, free: 45.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=97): time 0.003541/7.242, allocations: 1.394 MB / 2.444 GB, free: 45.08 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.78e-05/7.243, allocations: 149.9 kB / 2.444 GB, free: 44.92 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001324/7.244, allocations: 0.8969 MB / 2.445 GB, free: 44.77 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.526e-05/7.244, allocations: 31.23 kB / 2.445 GB, free: 44.74 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005231/7.245, allocations: 0.7166 MB / 2.445 GB, free: 44.55 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000272/7.245, allocations: 312.8 kB / 2.446 GB, free: 44.36 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-05/7.245, allocations: 1.312 kB / 2.446 GB, free: 44.36 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.645e-05/7.245, allocations: 345.4 kB / 2.446 GB, free: 44.06 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005975/7.246, allocations: 407.8 kB / 2.446 GB, free: 44.05 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007325/7.246, allocations: 0.6778 MB / 2.447 GB, free: 43.75 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001881/7.248, allocations: 0.6757 MB / 2.448 GB, free: 43.74 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/7.248, allocations: 3.688 kB / 2.448 GB, free: 43.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.003122/7.251, allocations: 1.563 MB / 2.449 GB, free: 43.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004386/7.252, allocations: 2.234 MB / 2.451 GB, free: 41.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/7.252, allocations: 6.781 kB / 2.451 GB, free: 41.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.634e-05/7.252, allocations: 10.56 kB / 2.451 GB, free: 41.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/7.253, allocations: 294.4 kB / 2.452 GB, free: 41.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/7.253, allocations: 10.41 kB / 2.452 GB, free: 41.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001632/7.255, allocations: 220 kB / 2.452 GB, free: 41.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/7.255, allocations: 59.28 kB / 2.452 GB, free: 41.28 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.825e-06/7.255, allocations: 5.688 kB / 2.452 GB, free: 41.28 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002828/7.258, allocations: 1.432 MB / 2.453 GB, free: 41.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/7.258, allocations: 7.094 kB / 2.453 GB, free: 41.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/7.258, allocations: 11.53 kB / 2.453 GB, free: 41.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/7.259, allocations: 286.4 kB / 2.454 GB, free: 41.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/7.259, allocations: 24.31 kB / 2.454 GB, free: 41.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001572/7.261, allocations: 199.5 kB / 2.454 GB, free: 41.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/7.261, allocations: 63.56 kB / 2.454 GB, free: 41.21 MB / 0.6198 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.0003246/7.261, allocations: 240.8 kB / 2.454 GB, free: 41.01 MB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003026/7.264, allocations: 1.432 MB / 2.456 GB, free: 40.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002028/7.264, allocations: 157.3 kB / 2.456 GB, free: 40.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003757/7.268, allocations: 1.996 MB / 2.458 GB, free: 40.68 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-05/7.268, allocations: 17.55 kB / 2.458 GB, free: 40.68 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/7.268, allocations: 0 / 2.458 GB, free: 40.68 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/7.268, allocations: 10.34 kB / 2.458 GB, free: 40.68 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006138/7.274, allocations: 3.206 MB / 2.461 GB, free: 40.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/7.274, allocations: 0 / 2.461 GB, free: 40.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001107/7.275, allocations: 225.4 kB / 2.461 GB, free: 40.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-05/7.275, allocations: 3.562 kB / 2.461 GB, free: 40.28 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.701e-05/7.276, allocations: 38.12 kB / 2.461 GB, free: 40.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.073e-06/7.276, allocations: 5.625 kB / 2.461 GB, free: 40.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/7.276, allocations: 5.438 kB / 2.461 GB, free: 40.28 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004184/7.28, allocations: 2.675 MB / 2.464 GB, free: 39.86 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000775/7.281, allocations: 389.8 kB / 2.464 GB, free: 39.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002257/7.281, allocations: 17.58 kB / 2.464 GB, free: 39.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001169/7.282, allocations: 153.4 kB / 2.464 GB, free: 39.66 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/7.282, allocations: 80.66 kB / 2.464 GB, free: 39.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/7.282, allocations: 51.17 kB / 2.464 GB, free: 39.66 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0008378/7.283, allocations: 0.6783 MB / 2.465 GB, free: 39.55 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/7.283, allocations: 4.031 kB / 2.465 GB, free: 39.55 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00246/7.286, allocations: 0.8856 MB / 2.466 GB, free: 39.43 MB / 0.6198 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.005507/7.291, allocations: 4.321 MB / 2.47 GB, free: 38.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002599/7.294, allocations: 2.217 MB / 2.472 GB, free: 37.62 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/7.294, allocations: 0 / 2.472 GB, free: 37.62 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008508/7.295, allocations: 0.8734 MB / 2.473 GB, free: 37.44 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002621/7.297, allocations: 0.5166 MB / 2.474 GB, free: 37.43 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00528/7.302, allocations: 2.982 MB / 2.477 GB, free: 36.65 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001639/7.304, allocations: 1.315 MB / 2.478 GB, free: 51.93 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001983/7.306, allocations: 478 kB / 2.478 GB, free: 51.92 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006474/7.307, allocations: 0.6331 MB / 2.479 GB, free: 51.91 MB / 0.6355 GB Notification: Performance of SimCode: time 7.41e-07/7.307, allocations: 0 / 2.479 GB, free: 51.91 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08042/7.387, allocations: 45.19 MB / 2.523 GB, free: 49.7 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001623/7.387, allocations: 188.3 kB / 2.523 GB, free: 49.5 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.869/11.26, allocations: 0 / 2.523 GB, free: 49.5 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)