Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,fileNamePrefix="IDEAS_dev_IDEAS_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.001138/0.001139, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.105/1.105, allocations: 133.6 MB / 141.6 MB, free: 2.859 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.903/1.903, allocations: 221.5 MB / 395.5 MB, free: 10.84 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008826/0.0008826, allocations: 99.33 kB / 478.2 MB, free: 1.336 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.053e-05/2.057e-05, allocations: 4 kB / 0.5535 GB, free: 8.977 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5458/0.5458, allocations: 82.3 MB / 0.6339 GB, free: 40.7 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.94/1.486, allocations: 363.1 MB / 0.9885 GB, free: 7.723 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003915/1.486, allocations: 90.58 kB / 0.9885 GB, free: 7.676 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.649/8.135, allocations: 1.527 GB / 2.516 GB, free: 84.46 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.703e-06/8.135, allocations: 0 / 2.516 GB, free: 84.46 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003087/8.136, allocations: 49 kB / 2.516 GB, free: 84.41 MB / 0.698 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.005357/8.141, allocations: 1.877 MB / 2.518 GB, free: 82.49 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/8.141, allocations: 8.031 kB / 2.518 GB, free: 82.48 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003671/8.145, allocations: 0.61 MB / 2.518 GB, free: 81.89 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003876/8.149, allocations: 1.435 MB / 2.52 GB, free: 80.46 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.085e-05/8.149, allocations: 32 kB / 2.52 GB, free: 80.43 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001813/8.149, allocations: 75.84 kB / 2.52 GB, free: 80.35 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001538/8.151, allocations: 0.828 MB / 2.521 GB, free: 79.52 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001581/8.152, allocations: 1.063 MB / 2.522 GB, free: 78.39 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/8.152, allocations: 0 / 2.522 GB, free: 78.39 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.115e-05/8.152, allocations: 4.344 kB / 2.522 GB, free: 78.39 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.235e-05/8.152, allocations: 27.95 kB / 2.522 GB, free: 78.36 MB / 0.698 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.009096/8.161, allocations: 6.438 MB / 2.528 GB, free: 71.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/8.163, allocations: 0.8987 MB / 2.529 GB, free: 70.59 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006227/8.163, allocations: 0.4933 MB / 2.529 GB, free: 70.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001761/8.165, allocations: 2.259 MB / 2.532 GB, free: 67.35 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008798/8.166, allocations: 0.6484 MB / 2.532 GB, free: 66.68 MB / 0.698 GB Notification: Performance of pre-optimization done (n=97): time 6.432e-06/8.166, allocations: 0 / 2.532 GB, free: 66.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=97): time 0.003832/8.17, allocations: 1.395 MB / 2.534 GB, free: 65.27 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.536e-05/8.17, allocations: 145.3 kB / 2.534 GB, free: 65.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001899/8.172, allocations: 0.8907 MB / 2.535 GB, free: 64.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001669/8.172, allocations: 37.7 kB / 2.535 GB, free: 64.16 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007942/8.173, allocations: 0.7086 MB / 2.535 GB, free: 63.44 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004281/8.173, allocations: 322.8 kB / 2.536 GB, free: 63.12 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.025e-05/8.174, allocations: 0 / 2.536 GB, free: 63.12 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001289/8.174, allocations: 341.9 kB / 2.536 GB, free: 62.79 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008979/8.175, allocations: 406.5 kB / 2.536 GB, free: 62.39 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/8.176, allocations: 0.6754 MB / 2.537 GB, free: 61.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00351/8.179, allocations: 0.6731 MB / 2.538 GB, free: 60.93 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/8.179, allocations: 4 kB / 2.538 GB, free: 60.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.006187/8.185, allocations: 1.558 MB / 2.539 GB, free: 59.36 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009467/8.186, allocations: 2.246 MB / 2.541 GB, free: 56.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.343e-05/8.186, allocations: 4 kB / 2.541 GB, free: 56.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.108e-05/8.187, allocations: 12 kB / 2.541 GB, free: 56.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001924/8.188, allocations: 290.6 kB / 2.542 GB, free: 56.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.101e-05/8.189, allocations: 15.94 kB / 2.542 GB, free: 56.67 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002881/8.191, allocations: 221.9 kB / 2.542 GB, free: 56.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002644/8.192, allocations: 63.97 kB / 2.542 GB, free: 56.39 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/8.192, allocations: 4 kB / 2.542 GB, free: 56.39 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004761/8.197, allocations: 1.425 MB / 2.543 GB, free: 54.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/8.197, allocations: 4 kB / 2.543 GB, free: 54.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.648e-05/8.197, allocations: 12 kB / 2.543 GB, free: 54.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001797/8.198, allocations: 292.2 kB / 2.544 GB, free: 54.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.821e-05/8.198, allocations: 15.94 kB / 2.544 GB, free: 54.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003244/8.202, allocations: 207.1 kB / 2.544 GB, free: 54.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003309/8.202, allocations: 63.47 kB / 2.544 GB, free: 54.38 MB / 0.698 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.0008345/8.203, allocations: 242.8 kB / 2.544 GB, free: 54.12 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006236/8.209, allocations: 1.438 MB / 2.546 GB, free: 52.68 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006378/8.21, allocations: 158.1 kB / 2.546 GB, free: 52.52 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00705/8.217, allocations: 1.981 MB / 2.548 GB, free: 50.54 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.572e-05/8.217, allocations: 19.98 kB / 2.548 GB, free: 50.52 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-05/8.217, allocations: 3.953 kB / 2.548 GB, free: 50.51 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.062e-05/8.217, allocations: 3.984 kB / 2.548 GB, free: 50.51 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008301/8.225, allocations: 3.207 MB / 2.551 GB, free: 47.26 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/8.226, allocations: 0 / 2.551 GB, free: 47.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001123/8.227, allocations: 227.8 kB / 2.551 GB, free: 47.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.801e-05/8.227, allocations: 8 kB / 2.551 GB, free: 47.03 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/8.227, allocations: 37.53 kB / 2.551 GB, free: 46.99 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.224e-06/8.227, allocations: 7.938 kB / 2.551 GB, free: 46.98 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/8.227, allocations: 3.938 kB / 2.551 GB, free: 46.98 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00508/8.232, allocations: 2.672 MB / 2.554 GB, free: 44.24 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001435/8.233, allocations: 398.6 kB / 2.554 GB, free: 43.83 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000572/8.234, allocations: 9.969 kB / 2.554 GB, free: 43.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001959/8.236, allocations: 163.7 kB / 2.554 GB, free: 43.66 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002339/8.236, allocations: 68.67 kB / 2.554 GB, free: 43.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002079/8.236, allocations: 59.97 kB / 2.554 GB, free: 43.54 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002354/8.239, allocations: 0.6761 MB / 2.555 GB, free: 42.86 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.92e-07/8.239, allocations: 0 / 2.555 GB, free: 42.86 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005957/8.245, allocations: 0.8871 MB / 2.556 GB, free: 41.98 MB / 0.698 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.01064/8.255, allocations: 4.315 MB / 2.56 GB, free: 37.73 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004502/8.26, allocations: 2.216 MB / 2.562 GB, free: 35.45 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/8.26, allocations: 3.938 kB / 2.562 GB, free: 35.44 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001504/8.262, allocations: 0.8734 MB / 2.563 GB, free: 34.53 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004706/8.266, allocations: 0.5028 MB / 2.564 GB, free: 34.04 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01046/8.277, allocations: 2.984 MB / 2.566 GB, free: 31.06 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001386/8.278, allocations: 1.316 MB / 2.568 GB, free: 29.71 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003446/8.282, allocations: 476.8 kB / 2.568 GB, free: 29.27 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008202/8.283, allocations: 0.6359 MB / 2.569 GB, free: 28.64 MB / 0.698 GB Notification: Performance of SimCode: time 9.22e-07/8.283, allocations: 0 / 2.569 GB, free: 28.64 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6626/8.945, allocations: 45.19 MB / 2.613 GB, free: 97.12 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002833/8.946, allocations: 181.1 kB / 2.613 GB, free: 96.94 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.117/13.06, allocations: 0 / 2.613 GB, free: 96.94 MB / 0.698 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe 2>&1)