Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004386/0.004386, allocations: 97.98 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 192.3 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9272/0.9272, allocations: 135.5 MB / 426.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001781/0.001781, allocations: 63.91 kB / 0.5858 GB, free: 3.152 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3466, allocations: 81.02 MB / 0.6649 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.001992/0.3487, allocations: 1.567 MB / 0.6664 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001038/0.3497, allocations: 0.9023 MB / 0.6673 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.629e-05/0.3498, allocations: 1.25 kB / 0.6673 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.493e-05/0.3498, allocations: 7.875 kB / 0.6673 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001646/0.35, allocations: 19.36 kB / 0.6673 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002674/0.3503, allocations: 147.9 kB / 0.6675 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.3504, allocations: 70.78 kB / 0.6675 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.632e-05/0.3505, allocations: 14.14 kB / 0.6675 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.032e-05/0.3506, allocations: 37.38 kB / 0.6676 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.3507, allocations: 32.81 kB / 0.6676 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.3507, allocations: 4.188 kB / 0.6676 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003186/0.351, allocations: 284.6 kB / 0.6679 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.662e-05/0.351, allocations: 18.42 kB / 0.6679 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.249e-05/0.3511, allocations: 31.55 kB / 0.6679 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.3513, allocations: 146 kB / 0.6681 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.3513, allocations: 1.094 kB / 0.6681 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3513, allocations: 0 / 0.6681 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.3513, allocations: 0 / 0.6681 GB, free: 4.5 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004164/0.3517, allocations: 423.1 kB / 0.6685 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.3517, allocations: 9.406 kB / 0.6685 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.44e-05/0.3518, allocations: 31.91 kB / 0.6685 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.411e-05/0.3519, allocations: 11.61 kB / 0.6685 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.352, allocations: 197.3 kB / 0.6687 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.352, allocations: 9.219 kB / 0.6687 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.3521, allocations: 11.55 kB / 0.6687 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.3522, allocations: 57.42 kB / 0.6688 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.3522, allocations: 0 / 0.6688 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.3522, allocations: 9.406 kB / 0.6688 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.3522, allocations: 0 / 0.6688 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.3524, allocations: 40.72 kB / 0.6688 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003079/0.3527, allocations: 299.7 kB / 0.6691 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.3528, allocations: 56.52 kB / 0.6692 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.319e-05/0.3529, allocations: 34.47 kB / 0.6692 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.3529, allocations: 1.375 kB / 0.6692 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.011e-05/0.3529, allocations: 30.56 kB / 0.6692 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.353, allocations: 1.344 kB / 0.6692 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.0003062/0.3533, allocations: 109.4 kB / 0.6693 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.844e-05/0.3533, allocations: 52.72 kB / 0.6694 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.01e-05/0.3534, allocations: 136.2 kB / 0.6695 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.264e-06/0.3534, allocations: 25.7 kB / 0.6696 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.183e-05/0.3534, allocations: 103.9 kB / 0.6696 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.288e-05/0.3534, allocations: 13.28 kB / 0.6697 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.271e-05/0.3535, allocations: 22.23 kB / 0.6697 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.737e-05/0.3535, allocations: 321.2 kB / 0.67 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.123e-05/0.3536, allocations: 25.33 kB / 0.67 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.037e-05/0.3537, allocations: 20.02 kB / 0.67 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.3538, allocations: 55.67 kB / 0.6701 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3538, allocations: 1.344 kB / 0.6701 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001814/0.354, allocations: 89.5 kB / 0.6702 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.354, allocations: 5.188 kB / 0.6702 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.354, allocations: 4 kB / 0.6702 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.354, allocations: 1.406 kB / 0.6702 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.3541, allocations: 14.45 kB / 0.6702 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.3541, allocations: 0 / 0.6702 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.537e-05/0.3542, allocations: 12.02 kB / 0.6702 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.3542, allocations: 1.438 kB / 0.6702 GB, free: 2.434 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.659e-05/0.3543, allocations: 113.3 kB / 0.6703 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.759e-05/0.3543, allocations: 7.766 kB / 0.6703 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002104/0.3545, allocations: 111.1 kB / 0.6704 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3545, allocations: 1.562 kB / 0.6704 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3545, allocations: 0 / 0.6704 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3545, allocations: 3.938 kB / 0.6704 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/0.3547, allocations: 179.4 kB / 0.6706 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.3547, allocations: 0 / 0.6706 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.577e-05/0.3548, allocations: 14.7 kB / 0.6706 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3548, allocations: 1.375 kB / 0.6706 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.3548, allocations: 3.938 kB / 0.6706 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3548, allocations: 5.438 kB / 0.6706 GB, free: 2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.3548, allocations: 3.938 kB / 0.6706 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001994/0.355, allocations: 192.8 kB / 0.6708 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.787e-05/0.355, allocations: 83.59 kB / 0.6709 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.355, allocations: 3.984 kB / 0.6709 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.842e-05/0.3551, allocations: 3.781 kB / 0.6709 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.3552, allocations: 18.11 kB / 0.6709 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-06/0.3552, allocations: 1.188 kB / 0.6709 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.688e-05/0.3552, allocations: 99.23 kB / 0.671 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3552, allocations: 0 / 0.671 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002223/0.3554, allocations: 30.33 kB / 0.671 GB, free: 1.617 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003695/0.3558, allocations: 0.7312 MB / 0.6718 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001865/0.356, allocations: 57.23 kB / 0.6718 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.356, allocations: 0 / 0.6718 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.552e-05/0.3561, allocations: 31.17 kB / 0.6718 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.3564, allocations: 24.06 kB / 0.6719 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.3577, allocations: 1.453 MB / 0.6733 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.358, allocations: 0.6902 MB / 0.674 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.527e-05/0.358, allocations: 15.95 kB / 0.674 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.92e-05/0.3581, allocations: 21.7 kB / 0.674 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.3581, allocations: 0 / 0.674 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2622/0.6203, allocations: 2.302 MB / 0.6762 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.08/8.7, allocations: 11.47 kB / 0.6763 GB, free: 13.58 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)