Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.BaseClasses.Examples.HADryCoil,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.007825/0.007825, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7607/0.7607, allocations: 135.2 MB / 151 MB, free: 13.84 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 223.2 MB / 406.8 MB, free: 3.25 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.001163/0.001163, allocations: 102.3 kB / 489.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005489/0.0005491, allocations: 8 kB / 0.5692 GB, free: 14.11 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7907/0.7913, allocations: 82.31 MB / 0.6495 GB, free: 36.17 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.283/1.074, allocations: 113.8 MB / 0.7606 GB, free: 2.262 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004186/1.075, allocations: 87.92 kB / 0.7607 GB, free: 2.176 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.03139/1.106, allocations: 7.657 MB / 0.7682 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of FrontEnd: time 5.52e-06/1.106, allocations: 0 / 0.7682 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.928e-05/1.107, allocations: 4 kB / 0.7682 GB, free: 10.49 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001627/1.108, allocations: 0.6115 MB / 0.7688 GB, free: 9.824 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 8.807e-05/1.108, allocations: 12.03 kB / 0.7688 GB, free: 9.812 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.941e-05/1.108, allocations: 46.55 kB / 0.7688 GB, free: 9.758 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003339/1.109, allocations: 35.61 kB / 0.7689 GB, free: 9.723 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007295/1.109, allocations: 290.6 kB / 0.7692 GB, free: 9.402 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/1.109, allocations: 16.28 kB / 0.7692 GB, free: 9.387 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.645e-05/1.11, allocations: 16 kB / 0.7692 GB, free: 9.371 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007725/1.11, allocations: 248.6 kB / 0.7694 GB, free: 9.105 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/1.11, allocations: 0 / 0.7694 GB, free: 9.105 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.762e-05/1.11, allocations: 4 kB / 0.7694 GB, free: 9.102 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/1.11, allocations: 4 kB / 0.7694 GB, free: 9.098 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009404/1.111, allocations: 243.8 kB / 0.7697 GB, free: 8.859 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001908/1.113, allocations: 0.9695 MB / 0.7706 GB, free: 7.82 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/1.114, allocations: 265.2 kB / 0.7709 GB, free: 7.543 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.021e-05/1.115, allocations: 0 / 0.7709 GB, free: 7.543 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.35e-05/1.115, allocations: 38.5 kB / 0.7709 GB, free: 7.496 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/1.115, allocations: 0 / 0.7709 GB, free: 7.496 MB / 0.5417 GB Notification: Performance of matching and sorting (n=16): time 0.001712/1.116, allocations: 405.6 kB / 0.7713 GB, free: 7.094 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.32e-05/1.116, allocations: 81.11 kB / 0.7714 GB, free: 6.996 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003638/1.117, allocations: 230.2 kB / 0.7716 GB, free: 6.766 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/1.117, allocations: 29.7 kB / 0.7716 GB, free: 6.73 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/1.117, allocations: 168 kB / 0.7718 GB, free: 6.562 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 6.532e-05/1.117, allocations: 47.27 kB / 0.7718 GB, free: 6.516 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.039e-05/1.117, allocations: 8 kB / 0.7718 GB, free: 6.508 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001991/1.117, allocations: 330.8 kB / 0.7721 GB, free: 6.176 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004563/1.118, allocations: 123.8 kB / 0.7723 GB, free: 6.055 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004887/1.118, allocations: 159.1 kB / 0.7724 GB, free: 5.879 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004659/1.119, allocations: 115.9 kB / 0.7725 GB, free: 5.766 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/1.119, allocations: 3.953 kB / 0.7725 GB, free: 5.762 MB / 0.5417 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001182/1.12, allocations: 341.1 kB / 0.7728 GB, free: 5.422 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.941e-05/1.12, allocations: 8 kB / 0.7729 GB, free: 5.414 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/1.12, allocations: 0 / 0.7729 GB, free: 5.414 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.2e-05/1.12, allocations: 4 kB / 0.7729 GB, free: 5.41 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004414/1.121, allocations: 71.88 kB / 0.7729 GB, free: 5.34 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-05/1.121, allocations: 8.125 kB / 0.7729 GB, free: 5.332 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003628/1.121, allocations: 51.75 kB / 0.773 GB, free: 5.281 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-05/1.121, allocations: 8 kB / 0.773 GB, free: 5.273 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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.0002338/1.121, allocations: 129.8 kB / 0.7731 GB, free: 5.137 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/1.121, allocations: 43.56 kB / 0.7732 GB, free: 5.094 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001208/1.123, allocations: 331.2 kB / 0.7735 GB, free: 4.758 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.557e-05/1.123, allocations: 7.984 kB / 0.7735 GB, free: 4.75 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/1.123, allocations: 3.984 kB / 0.7735 GB, free: 4.746 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/1.123, allocations: 0 / 0.7735 GB, free: 4.746 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007001/1.123, allocations: 293.3 kB / 0.7738 GB, free: 4.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/1.123, allocations: 0 / 0.7738 GB, free: 4.41 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004042/1.124, allocations: 67.91 kB / 0.7738 GB, free: 4.344 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.528e-06/1.124, allocations: 4 kB / 0.7738 GB, free: 4.34 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.135e-05/1.124, allocations: 4 kB / 0.7738 GB, free: 4.336 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.248e-05/1.124, allocations: 7.938 kB / 0.7738 GB, free: 4.328 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.265e-06/1.124, allocations: 3.984 kB / 0.7738 GB, free: 4.324 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001549/1.126, allocations: 490.3 kB / 0.7743 GB, free: 3.824 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001934/1.126, allocations: 108.7 kB / 0.7744 GB, free: 3.699 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.852e-05/1.126, allocations: 7.938 kB / 0.7744 GB, free: 3.691 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003935/1.126, allocations: 35.97 kB / 0.7745 GB, free: 3.656 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/1.126, allocations: 23.97 kB / 0.7745 GB, free: 3.633 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.752e-05/1.126, allocations: 4 kB / 0.7745 GB, free: 3.629 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003958/1.127, allocations: 189.9 kB / 0.7747 GB, free: 3.449 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.11e-07/1.127, allocations: 0 / 0.7747 GB, free: 3.449 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006252/1.127, allocations: 60.19 kB / 0.7747 GB, free: 3.391 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.002659/1.13, allocations: 1.117 MB / 0.7758 GB, free: 2.242 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001182/1.131, allocations: 272.1 kB / 0.7761 GB, free: 1.977 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/1.131, allocations: 0 / 0.7761 GB, free: 1.977 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0005816/1.132, allocations: 139.9 kB / 0.7762 GB, free: 1.84 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007956/1.133, allocations: 66.91 kB / 0.7763 GB, free: 1.773 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003681/1.136, allocations: 1.668 MB / 0.7779 GB, free: 24 kB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009158/1.137, allocations: 0.7597 MB / 0.7786 GB, free: 15.24 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003043/1.138, allocations: 38.27 kB / 0.7787 GB, free: 15.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002582/1.138, allocations: 91.34 kB / 0.7788 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of SimCode: time 9.42e-07/1.138, allocations: 0 / 0.7788 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0457/1.184, allocations: 5.722 MB / 0.7844 GB, free: 9.594 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004698/1.184, allocations: 178.7 kB / 0.7845 GB, free: 9.359 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.561/4.745, allocations: 64 / 0.7845 GB, free: 9.359 MB / 0.5573 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)