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.00593/0.00593, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001448/0.001448, allocations: 194.3 kB / 16.67 MB, free: 5.977 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9543/0.9543, allocations: 135.1 MB / 425.7 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002335/0.002335, allocations: 59.91 kB / 0.5852 GB, free: 3.867 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4122/0.4146, allocations: 80.91 MB / 0.6642 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002796/0.4174, allocations: 1.576 MB / 0.6657 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001414/0.4189, allocations: 0.8998 MB / 0.6666 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.624e-05/0.4189, allocations: 0 / 0.6666 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.784e-05/0.419, allocations: 3.938 kB / 0.6666 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001992/0.4192, allocations: 23.91 kB / 0.6666 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003118/0.4195, allocations: 143.5 kB / 0.6667 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.4197, allocations: 78.06 kB / 0.6668 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.155e-05/0.4198, allocations: 20.89 kB / 0.6668 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.571e-05/0.4198, allocations: 29.84 kB / 0.6669 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.42, allocations: 36.31 kB / 0.6669 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.834e-05/0.42, allocations: 9.344 kB / 0.6669 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003476/0.4204, allocations: 275.9 kB / 0.6672 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.652e-05/0.4204, allocations: 17.33 kB / 0.6672 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.882e-05/0.4204, allocations: 37.53 kB / 0.6672 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002078/0.4206, allocations: 148.7 kB / 0.6674 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4206, allocations: 0 / 0.6674 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4207, allocations: 3.938 kB / 0.6674 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.4207, allocations: 1.125 kB / 0.6674 GB, free: 4.832 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.0004973/0.4212, allocations: 406.2 kB / 0.6678 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.4212, allocations: 10.16 kB / 0.6678 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.072e-05/0.4213, allocations: 40.19 kB / 0.6678 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.4214, allocations: 10.91 kB / 0.6678 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.4216, allocations: 189.7 kB / 0.668 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.4216, allocations: 5.625 kB / 0.668 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.4217, allocations: 2.781 kB / 0.668 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.4219, allocations: 70.22 kB / 0.6681 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.4219, allocations: 0 / 0.6681 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.4219, allocations: 3.938 kB / 0.6681 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.4219, allocations: 1.094 kB / 0.6681 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.4221, allocations: 44.3 kB / 0.6681 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00043/0.4225, allocations: 299.9 kB / 0.6684 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/0.4227, allocations: 60.66 kB / 0.6685 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.024e-05/0.4228, allocations: 35.25 kB / 0.6685 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.4228, allocations: 0 / 0.6685 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.4228, allocations: 32.06 kB / 0.6685 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.4228, allocations: 0 / 0.6685 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.000359/0.4232, allocations: 106.2 kB / 0.6686 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.998e-05/0.4232, allocations: 56.92 kB / 0.6687 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.092e-05/0.4233, allocations: 137.3 kB / 0.6688 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.4233, allocations: 26.61 kB / 0.6688 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.372e-05/0.4233, allocations: 91.3 kB / 0.6689 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.492e-05/0.4234, allocations: 13.41 kB / 0.6689 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/0.4234, allocations: 22.3 kB / 0.669 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.426e-05/0.4235, allocations: 321.5 kB / 0.6693 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.464e-05/0.4235, allocations: 28.2 kB / 0.6693 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.511e-05/0.4236, allocations: 20.7 kB / 0.6693 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.4238, allocations: 51.67 kB / 0.6694 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4238, allocations: 1.469 kB / 0.6694 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001979/0.424, allocations: 90.05 kB / 0.6695 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.424, allocations: 10.28 kB / 0.6695 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.237e-06/0.424, allocations: 448 / 0.6695 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.424, allocations: 1.25 kB / 0.6695 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.4241, allocations: 18.67 kB / 0.6695 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.4241, allocations: 0 / 0.6695 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.937e-05/0.4242, allocations: 19.77 kB / 0.6695 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.4242, allocations: 1.312 kB / 0.6695 GB, free: 2.773 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 5.382e-05/0.4243, allocations: 112.4 kB / 0.6696 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.123e-05/0.4243, allocations: 12.19 kB / 0.6696 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002334/0.4246, allocations: 100.1 kB / 0.6697 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.4246, allocations: 1.094 kB / 0.6697 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.4246, allocations: 0 / 0.6697 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.4246, allocations: 3.938 kB / 0.6697 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.4247, allocations: 180 kB / 0.6699 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4247, allocations: 3.938 kB / 0.6699 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.306e-05/0.4248, allocations: 22.36 kB / 0.6699 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.4248, allocations: 5.469 kB / 0.6699 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.4249, allocations: 0 / 0.6699 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.4249, allocations: 5.453 kB / 0.6699 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4249, allocations: 0 / 0.6699 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002135/0.4251, allocations: 184.6 kB / 0.6701 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.319e-05/0.4251, allocations: 86.25 kB / 0.6702 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.4251, allocations: 1.125 kB / 0.6702 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.106e-05/0.4252, allocations: 7.219 kB / 0.6702 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.4253, allocations: 10.2 kB / 0.6702 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.4253, allocations: 2.406 kB / 0.6702 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.191e-05/0.4253, allocations: 99.48 kB / 0.6703 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4253, allocations: 1.188 kB / 0.6703 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002417/0.4256, allocations: 21.34 kB / 0.6703 GB, free: 1.973 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.0004494/0.426, allocations: 0.7447 MB / 0.671 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002095/0.4263, allocations: 57.75 kB / 0.6711 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.4263, allocations: 0 / 0.6711 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.205e-05/0.4264, allocations: 26.39 kB / 0.6711 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.4266, allocations: 20.42 kB / 0.6711 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.428, allocations: 1.449 MB / 0.6726 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000216/0.4282, allocations: 0.6901 MB / 0.6732 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.915e-05/0.4283, allocations: 11.59 kB / 0.6732 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.405e-05/0.4283, allocations: 25.95 kB / 0.6733 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of SimCode: time 5.31e-07/0.4283, allocations: 1.25 kB / 0.6733 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01879/0.4471, allocations: 2.323 MB / 0.6755 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.582/8.029, allocations: 5.922 kB / 0.6755 GB, free: 13.93 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)