Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7523/0.7523, allocations: 127.3 MB / 139.8 MB, free: 15.46 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00119/0.00119, allocations: 179.9 kB / 169.7 MB, free: 1.754 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.924/1.924, allocations: 205.1 MB / 404.5 MB, free: 1.672 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009093/0.0009093, allocations: 86.22 kB / 481.8 MB, free: 4.316 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.924e-05/3.943e-05, allocations: 4 kB / 0.5533 GB, free: 54.76 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1782, allocations: 76.76 MB / 0.6282 GB, free: 9.938 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.36/1.539, allocations: 350.8 MB / 0.9708 GB, free: 161 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003125/1.539, allocations: 87.2 kB / 0.9709 GB, free: 161 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.781/7.32, allocations: 1.445 GB / 2.416 GB, free: 3.324 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.645e-06/7.32, allocations: 3.938 kB / 2.416 GB, free: 3.32 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0003876/7.32, allocations: 51.92 kB / 2.416 GB, free: 3.27 MB / 0.6667 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.007582/7.328, allocations: 1.881 MB / 2.418 GB, free: 1.324 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 8.048e-05/7.328, allocations: 12.03 kB / 2.418 GB, free: 1.312 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008827/7.329, allocations: 152.5 kB / 2.418 GB, free: 1.156 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004392/7.333, allocations: 0.6105 MB / 2.418 GB, free: 0.543 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.566/7.899, allocations: 1.485 MB / 2.42 GB, free: 66.36 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001309/7.9, allocations: 82.62 kB / 2.42 GB, free: 66.36 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000332/7.9, allocations: 113.7 kB / 2.42 GB, free: 66.36 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003563/7.904, allocations: 1.272 MB / 2.421 GB, free: 66.14 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.244e-05/7.904, allocations: 5.094 kB / 2.421 GB, free: 66.14 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001278/7.904, allocations: 44.34 kB / 2.421 GB, free: 66.14 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.017e-05/7.904, allocations: 25.8 kB / 2.421 GB, free: 66.14 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003055/7.907, allocations: 0.978 MB / 2.422 GB, free: 66.14 MB / 0.6667 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.0107/7.918, allocations: 6.492 MB / 2.429 GB, free: 62.33 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002268/7.92, allocations: 0.9845 MB / 2.43 GB, free: 62.29 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000644/7.921, allocations: 496.5 kB / 2.43 GB, free: 62.29 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001542/7.922, allocations: 2.261 MB / 2.432 GB, free: 59.75 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001386/7.923, allocations: 0.724 MB / 2.433 GB, free: 59.61 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=92): time 3.176e-06/7.924, allocations: 0 / 2.433 GB, free: 59.61 MB / 0.6667 GB Notification: Performance of matching and sorting (n=92): time 0.003546/7.927, allocations: 1.429 MB / 2.434 GB, free: 59.37 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.455e-05/7.927, allocations: 152.2 kB / 2.434 GB, free: 59.21 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0017/7.929, allocations: 1.055 MB / 2.435 GB, free: 59.05 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001486/7.929, allocations: 46.89 kB / 2.436 GB, free: 59.02 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005428/7.93, allocations: 0.7368 MB / 2.436 GB, free: 58.82 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002924/7.93, allocations: 302.2 kB / 2.437 GB, free: 58.68 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.734e-05/7.93, allocations: 20.81 kB / 2.437 GB, free: 58.68 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.561e-05/7.93, allocations: 346.6 kB / 2.437 GB, free: 58.37 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007568/7.931, allocations: 431.4 kB / 2.437 GB, free: 58.37 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009756/7.932, allocations: 0.735 MB / 2.438 GB, free: 58.04 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009165/7.933, allocations: 0.5538 MB / 2.439 GB, free: 57.94 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/7.933, allocations: 4.531 kB / 2.439 GB, free: 57.94 MB / 0.6667 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003117/7.936, allocations: 1.52 MB / 2.44 GB, free: 57.71 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006614/7.937, allocations: 2.254 MB / 2.442 GB, free: 55.34 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/7.937, allocations: 5.25 kB / 2.442 GB, free: 55.34 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.974e-05/7.937, allocations: 11.64 kB / 2.442 GB, free: 55.34 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001442/7.938, allocations: 307.2 kB / 2.443 GB, free: 55.34 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.627e-05/7.938, allocations: 13.16 kB / 2.443 GB, free: 55.34 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00225/7.94, allocations: 258.8 kB / 2.443 GB, free: 55.32 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001917/7.941, allocations: 64.72 kB / 2.443 GB, free: 55.32 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/7.941, allocations: 11.27 kB / 2.443 GB, free: 55.31 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00267/7.943, allocations: 1.393 MB / 2.444 GB, free: 55.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/7.943, allocations: 14.47 kB / 2.444 GB, free: 55.2 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/7.943, allocations: 11.31 kB / 2.444 GB, free: 55.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/7.945, allocations: 289.4 kB / 2.445 GB, free: 55.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.371e-05/7.945, allocations: 12.19 kB / 2.445 GB, free: 55.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002147/7.947, allocations: 243.8 kB / 2.445 GB, free: 55.18 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001655/7.947, allocations: 59.88 kB / 2.445 GB, free: 55.18 MB / 0.6667 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 (116): * Single equations (assignments): 113 * 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.0005196/7.947, allocations: 276.9 kB / 2.445 GB, free: 54.97 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004462/7.948, allocations: 169.2 kB / 2.445 GB, free: 54.89 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004329/7.952, allocations: 2.033 MB / 2.447 GB, free: 54.68 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.244e-05/7.952, allocations: 14.22 kB / 2.447 GB, free: 54.68 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/7.952, allocations: 0 / 2.447 GB, free: 54.68 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.558e-05/7.952, allocations: 4.734 kB / 2.447 GB, free: 54.68 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002821/7.955, allocations: 1.372 MB / 2.449 GB, free: 54.45 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/7.955, allocations: 4.219 kB / 2.449 GB, free: 54.45 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001298/7.957, allocations: 227.4 kB / 2.449 GB, free: 54.45 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-05/7.957, allocations: 5.531 kB / 2.449 GB, free: 54.45 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001232/7.957, allocations: 41.28 kB / 2.449 GB, free: 54.45 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.646e-06/7.957, allocations: 4.016 kB / 2.449 GB, free: 54.45 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/7.957, allocations: 2.188 kB / 2.449 GB, free: 54.45 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004506/7.961, allocations: 2.482 MB / 2.451 GB, free: 54.14 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007452/7.962, allocations: 245.5 kB / 2.452 GB, free: 53.96 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002795/7.962, allocations: 28.81 kB / 2.452 GB, free: 53.96 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001416/7.964, allocations: 182.1 kB / 2.452 GB, free: 53.96 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001801/7.964, allocations: 69.16 kB / 2.452 GB, free: 53.96 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001415/7.964, allocations: 55.09 kB / 2.452 GB, free: 53.96 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001457/7.966, allocations: 0.8286 MB / 2.453 GB, free: 53.84 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.473e-06/7.966, allocations: 0 / 2.453 GB, free: 53.84 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003746/7.969, allocations: 0.9213 MB / 2.454 GB, free: 53.82 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3) * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 18 * 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.005968/7.975, allocations: 3.805 MB / 2.457 GB, free: 52.91 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004265/7.98, allocations: 2.303 MB / 2.46 GB, free: 52.5 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/7.98, allocations: 0 / 2.46 GB, free: 52.5 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001079/7.981, allocations: 0.882 MB / 2.46 GB, free: 52.31 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003751/7.984, allocations: 0.6147 MB / 2.461 GB, free: 52.3 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007027/7.991, allocations: 3.043 MB / 2.464 GB, free: 51.64 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002391/7.994, allocations: 1.313 MB / 2.465 GB, free: 66.93 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002586/7.997, allocations: 498.3 kB / 2.466 GB, free: 66.91 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009004/7.997, allocations: 0.6488 MB / 2.466 GB, free: 66.9 MB / 0.6823 GB Notification: Performance of SimCode: time 1.914e-06/7.997, allocations: 0 / 2.466 GB, free: 66.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1094/8.107, allocations: 55.53 MB / 2.521 GB, free: 64.54 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001842/8.107, allocations: 208.9 kB / 2.521 GB, free: 64.32 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.228/12.33, allocations: 0 / 2.521 GB, free: 64.32 MB / 0.6823 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe 2>&1)