Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.HADryCoil,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.0009885/0.0009885, allocations: 92.08 kB / 15.06 MB, free: 1.098 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.001213/0.001213, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 223.2 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7046/0.7046, allocations: 132.3 MB / 423.4 MB, free: 2.066 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002765/0.0002765, allocations: 8 kB / 0.5035 GB, free: 4.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3456, allocations: 81.58 MB / 0.5832 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.001709/0.3474, allocations: 1.756 MB / 0.5849 GB, free: 2.723 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.3487, allocations: 0.9787 MB / 0.5858 GB, free: 2.039 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.3488, allocations: 7.219 kB / 0.5858 GB, free: 2.035 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.274e-05/0.3489, allocations: 12.89 kB / 0.5858 GB, free: 2.027 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002346/0.3491, allocations: 68.12 kB / 0.5859 GB, free: 1.98 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003088/0.3494, allocations: 143.6 kB / 0.586 GB, free: 1.91 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002515/0.3497, allocations: 266.1 kB / 0.5863 GB, free: 1.777 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.3498, allocations: 53.58 kB / 0.5864 GB, free: 1.754 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.3499, allocations: 89.44 kB / 0.5864 GB, free: 1.719 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001903/0.3501, allocations: 123.5 kB / 0.5866 GB, free: 1.668 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.3501, allocations: 7.844 kB / 0.5866 GB, free: 1.668 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003924/0.3505, allocations: 271.8 kB / 0.5868 GB, free: 1.609 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.578e-05/0.3506, allocations: 39.53 kB / 0.5869 GB, free: 1.586 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.061e-05/0.3506, allocations: 63.36 kB / 0.5869 GB, free: 1.535 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002529/0.3509, allocations: 222.7 kB / 0.5871 GB, free: 1.477 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3509, allocations: 0 / 0.5871 GB, free: 1.477 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3509, allocations: 4 kB / 0.5871 GB, free: 1.473 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.3509, allocations: 0.9062 kB / 0.5871 GB, free: 1.473 MB / 430.1 MB 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.0007977/0.3517, allocations: 0.6039 MB / 0.5877 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.3518, allocations: 10.06 kB / 0.5877 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.325e-05/0.3518, allocations: 54.14 kB / 0.5878 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001779/0.352, allocations: 42.14 kB / 0.5878 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.3522, allocations: 268.5 kB / 0.5881 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.3523, allocations: 10.84 kB / 0.5881 GB, free: 0.668 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.3523, allocations: 13.5 kB / 0.5881 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004596/0.3528, allocations: 246.4 kB / 0.5883 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.3528, allocations: 5.656 kB / 0.5883 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.3528, allocations: 5.312 kB / 0.5884 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.3528, allocations: 3.469 kB / 0.5884 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006055/0.3534, allocations: 247.6 kB / 0.5886 GB, free: 492 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009605/0.3544, allocations: 0.9529 MB / 0.5895 GB, free: 15.67 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007069/0.3551, allocations: 264.9 kB / 0.5898 GB, free: 15.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003098/0.3554, allocations: 126.1 kB / 0.5899 GB, free: 15.53 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.3555, allocations: 5.938 kB / 0.5899 GB, free: 15.53 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.3555, allocations: 41.81 kB / 0.5899 GB, free: 15.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.242e-06/0.3555, allocations: 3.938 kB / 0.5899 GB, free: 15.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.001068/0.3566, allocations: 392.9 kB / 0.5903 GB, free: 15.37 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.3566, allocations: 83.36 kB / 0.5904 GB, free: 15.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002537/0.3569, allocations: 262.8 kB / 0.5906 GB, free: 15.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.3569, allocations: 31.3 kB / 0.5907 GB, free: 15.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.74e-05/0.357, allocations: 165.6 kB / 0.5908 GB, free: 14.94 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.826e-05/0.357, allocations: 51.03 kB / 0.5909 GB, free: 14.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.929e-06/0.3571, allocations: 9.375 kB / 0.5909 GB, free: 14.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.3572, allocations: 336.9 kB / 0.5912 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003028/0.3575, allocations: 111 kB / 0.5913 GB, free: 14.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003191/0.3578, allocations: 158.6 kB / 0.5915 GB, free: 14.47 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003101/0.3581, allocations: 132 kB / 0.5916 GB, free: 14.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3581, allocations: 0 / 0.5916 GB, free: 14.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000783/0.3589, allocations: 325.1 kB / 0.5919 GB, free: 14.33 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.3589, allocations: 6.516 kB / 0.5919 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.359, allocations: 1.844 kB / 0.5919 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.359, allocations: 3.125 kB / 0.5919 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002722/0.3593, allocations: 78.55 kB / 0.592 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.3593, allocations: 3.219 kB / 0.592 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.3595, allocations: 47.91 kB / 0.592 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.3595, allocations: 10.94 kB / 0.5921 GB, free: 14.3 MB / 446.1 MB 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.0001015/0.3596, allocations: 135.9 kB / 0.5922 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.3597, allocations: 28.81 kB / 0.5922 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007644/0.3605, allocations: 337.2 kB / 0.5925 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.3605, allocations: 2.625 kB / 0.5925 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3605, allocations: 0 / 0.5925 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.3605, allocations: 2.266 kB / 0.5925 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003436/0.3609, allocations: 298.5 kB / 0.5928 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3609, allocations: 5.219 kB / 0.5928 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002516/0.3611, allocations: 68.34 kB / 0.5929 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.3611, allocations: 1.281 kB / 0.5929 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.3612, allocations: 6.531 kB / 0.5929 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.3612, allocations: 5.844 kB / 0.5929 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.3612, allocations: 4.562 kB / 0.5929 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007577/0.3619, allocations: 488 kB / 0.5934 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.69e-05/0.362, allocations: 105.5 kB / 0.5935 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.393e-05/0.3621, allocations: 6.359 kB / 0.5935 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002423/0.3623, allocations: 41.03 kB / 0.5935 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.417e-05/0.3624, allocations: 14.95 kB / 0.5935 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.3624, allocations: 8.359 kB / 0.5935 GB, free: 13.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001617/0.3626, allocations: 183.8 kB / 0.5937 GB, free: 13.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3626, allocations: 0 / 0.5937 GB, free: 13.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003187/0.3629, allocations: 55.27 kB / 0.5938 GB, free: 13.24 MB / 446.1 MB 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.001022/0.3639, allocations: 1.029 MB / 0.5948 GB, free: 12.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006509/0.3646, allocations: 266.5 kB / 0.595 GB, free: 12.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.3646, allocations: 0 / 0.595 GB, free: 12.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003297/0.3649, allocations: 140 kB / 0.5952 GB, free: 12.35 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004968/0.3654, allocations: 73.38 kB / 0.5952 GB, free: 12.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002438/0.3679, allocations: 1.571 MB / 0.5968 GB, free: 11.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.3682, allocations: 0.7468 MB / 0.5975 GB, free: 10.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001319/0.3683, allocations: 33.47 kB / 0.5975 GB, free: 10.76 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.3684, allocations: 86.69 kB / 0.5976 GB, free: 10.7 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3684, allocations: 0 / 0.5976 GB, free: 10.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9379/1.306, allocations: 5.821 MB / 0.6033 GB, free: 8.211 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002354/1.307, allocations: 187.7 kB / 0.6035 GB, free: 7.973 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.945/3.251, allocations: 7.562 kB / 0.6035 GB, free: 7.969 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) Environment - environmentSimulation: