Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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: translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001164/0.001164, allocations: 194.6 kB / 16.14 MB, free: 6.656 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.32/1.32, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7734/0.7734, allocations: 132.2 MB / 422.2 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 77.45 kB / 0.5011 GB, free: 4.324 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.4007, allocations: 80.2 MB / 0.5794 GB, free: 4.797 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002818/0.4036, allocations: 1.625 MB / 0.581 GB, free: 3.664 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001422/0.405, allocations: 0.9329 MB / 0.5819 GB, free: 3.027 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.758e-05/0.4051, allocations: 5.375 kB / 0.5819 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.408e-05/0.4052, allocations: 1.359 kB / 0.5819 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002045/0.4054, allocations: 21.7 kB / 0.582 GB, free: 3.008 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002729/0.4057, allocations: 97.91 kB / 0.5821 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001249/0.4058, allocations: 73.97 kB / 0.5821 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.4059, allocations: 7.281 kB / 0.5821 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.928e-05/0.406, allocations: 38.2 kB / 0.5822 GB, free: 2.91 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.4061, allocations: 35.94 kB / 0.5822 GB, free: 2.895 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.4062, allocations: 3.562 kB / 0.5822 GB, free: 2.895 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004358/0.4066, allocations: 283.7 kB / 0.5825 GB, free: 2.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.032e-05/0.4066, allocations: 12.55 kB / 0.5825 GB, free: 2.812 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.146e-05/0.4067, allocations: 26.83 kB / 0.5825 GB, free: 2.797 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002592/0.407, allocations: 147.8 kB / 0.5827 GB, free: 2.746 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.407, allocations: 0.9375 kB / 0.5827 GB, free: 2.746 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.407, allocations: 0 / 0.5827 GB, free: 2.746 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.407, allocations: 0 / 0.5827 GB, free: 2.746 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005415/0.4075, allocations: 413 kB / 0.5831 GB, free: 2.344 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.4076, allocations: 9.5 kB / 0.5831 GB, free: 2.344 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001256/0.4077, allocations: 16 kB / 0.5831 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.4079, allocations: 193.1 kB / 0.5833 GB, free: 2.121 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.4079, allocations: 6.844 kB / 0.5833 GB, free: 2.117 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.4079, allocations: 6.25 kB / 0.5833 GB, free: 2.113 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.4081, allocations: 63.17 kB / 0.5833 GB, free: 2.07 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.4081, allocations: 1.219 kB / 0.5833 GB, free: 2.07 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.4081, allocations: 0 / 0.5833 GB, free: 2.07 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.4081, allocations: 1.547 kB / 0.5833 GB, free: 2.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.4083, allocations: 44.97 kB / 0.5834 GB, free: 2.059 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004118/0.4087, allocations: 298.2 kB / 0.5837 GB, free: 1.766 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.4089, allocations: 51.23 kB / 0.5837 GB, free: 1.734 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.15e-05/0.409, allocations: 30.41 kB / 0.5837 GB, free: 1.719 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.409, allocations: 6.25 kB / 0.5837 GB, free: 1.715 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.832e-05/0.409, allocations: 35.2 kB / 0.5838 GB, free: 1.672 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.409, allocations: 4 kB / 0.5838 GB, free: 1.668 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.000404/0.4094, allocations: 104.4 kB / 0.5839 GB, free: 1.617 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.345e-05/0.4095, allocations: 52.28 kB / 0.5839 GB, free: 1.555 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.4096, allocations: 132.2 kB / 0.5841 GB, free: 1.445 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.4096, allocations: 27.23 kB / 0.5841 GB, free: 1.414 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.305e-05/0.4096, allocations: 97.02 kB / 0.5842 GB, free: 1.32 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/0.4097, allocations: 19.33 kB / 0.5842 GB, free: 1.305 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.036e-05/0.4097, allocations: 24.16 kB / 0.5842 GB, free: 1.281 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.292e-05/0.4098, allocations: 324.5 kB / 0.5845 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.078e-05/0.4098, allocations: 20.56 kB / 0.5845 GB, free: 0.957 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.889e-05/0.4099, allocations: 21.02 kB / 0.5846 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.4101, allocations: 54.91 kB / 0.5846 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4101, allocations: 1.625 kB / 0.5846 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002081/0.4103, allocations: 95.44 kB / 0.5847 GB, free: 0.875 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.4103, allocations: 5.953 kB / 0.5847 GB, free: 0.875 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.4103, allocations: 448 / 0.5847 GB, free: 0.875 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.4104, allocations: 0.8438 kB / 0.5847 GB, free: 0.875 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.4105, allocations: 13.97 kB / 0.5847 GB, free: 0.875 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.4105, allocations: 4.688 kB / 0.5847 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.446e-05/0.4106, allocations: 9.391 kB / 0.5847 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.4106, allocations: 9.516 kB / 0.5848 GB, free: 0.8594 MB / 430.1 MB 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.642e-05/0.4106, allocations: 123.2 kB / 0.5849 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.547e-05/0.4107, allocations: 9.031 kB / 0.5849 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002428/0.4109, allocations: 98.64 kB / 0.585 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.411, allocations: 3.938 kB / 0.585 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.411, allocations: 1.953 kB / 0.585 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.411, allocations: 0 / 0.585 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.4111, allocations: 187.7 kB / 0.5852 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4111, allocations: 1.156 kB / 0.5852 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.769e-05/0.4112, allocations: 17.25 kB / 0.5852 GB, free: 468 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.4112, allocations: 0.5625 kB / 0.5852 GB, free: 468 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.4113, allocations: 1.188 kB / 0.5852 GB, free: 468 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.4113, allocations: 5.172 kB / 0.5852 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4113, allocations: 0.9688 kB / 0.5852 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002323/0.4115, allocations: 187.6 kB / 0.5854 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.16e-05/0.4115, allocations: 88.47 kB / 0.5855 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.4116, allocations: 0.875 kB / 0.5855 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.051e-05/0.4117, allocations: 4.703 kB / 0.5855 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/0.4117, allocations: 4.609 kB / 0.5855 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.4117, allocations: 2.797 kB / 0.5855 GB, free: 204 kB / 430.1 MB Notification: Performance of sorting global known variables: time 5.38e-05/0.4118, allocations: 108.2 kB / 0.5856 GB, free: 116 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4118, allocations: 0 / 0.5856 GB, free: 116 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002761/0.4121, allocations: 22.05 kB / 0.5856 GB, free: 112 kB / 430.1 MB 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.0001584/0.4122, allocations: 114.1 kB / 0.5857 GB, free: 12 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002382/0.4125, allocations: 58.94 kB / 0.5858 GB, free: 15.99 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.4125, allocations: 0 / 0.5858 GB, free: 15.99 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.369e-05/0.4126, allocations: 28.16 kB / 0.5858 GB, free: 15.99 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.4129, allocations: 9.828 kB / 0.5858 GB, free: 15.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004533/0.4134, allocations: 224.9 kB / 0.586 GB, free: 15.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.4137, allocations: 0.6943 MB / 0.5867 GB, free: 15.11 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.497e-05/0.4137, allocations: 8.531 kB / 0.5867 GB, free: 15.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.211e-05/0.4138, allocations: 12 kB / 0.5867 GB, free: 15.1 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4138, allocations: 0 / 0.5867 GB, free: 15.1 MB / 446.1 MB Notification: Performance of Templates: time 0.003642/0.4174, allocations: 1.001 MB / 0.5877 GB, free: 15.01 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)