Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IBPSA_latest_IBPSA_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.001194/0.001194, allocations: 107.9 kB / 15.99 MB, free: 6.332 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.001252/0.001253, allocations: 197.2 kB / 16.91 MB, free: 6.18 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.18/1.18, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6472/0.6472, allocations: 115.3 MB / 406.1 MB, free: 6.383 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 59.91 kB / 493.2 MB, free: 0.6367 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2743, allocations: 76.17 MB / 0.556 GB, free: 36.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002331/0.2766, allocations: 2.158 MB / 0.5581 GB, free: 34.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.2778, allocations: 1.032 MB / 0.5591 GB, free: 34.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.087e-05/0.2779, allocations: 6.531 kB / 0.5591 GB, free: 34.11 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.459e-05/0.2779, allocations: 13.27 kB / 0.5592 GB, free: 34.1 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002304/0.2781, allocations: 70 kB / 0.5592 GB, free: 34.05 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003135/0.2785, allocations: 170.3 kB / 0.5594 GB, free: 33.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002219/0.2787, allocations: 292.9 kB / 0.5597 GB, free: 33.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.2788, allocations: 64.56 kB / 0.5597 GB, free: 33.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.687e-05/0.2789, allocations: 110.6 kB / 0.5598 GB, free: 33.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001668/0.2791, allocations: 143.9 kB / 0.56 GB, free: 33.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.135e-05/0.2791, allocations: 21.94 kB / 0.56 GB, free: 33.7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003441/0.2795, allocations: 298.5 kB / 0.5603 GB, free: 33.63 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.313e-05/0.2795, allocations: 43.66 kB / 0.5603 GB, free: 33.6 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.241e-05/0.2796, allocations: 123.4 kB / 0.5604 GB, free: 33.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002969/0.2799, allocations: 323.2 kB / 0.5607 GB, free: 33.4 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2799, allocations: 0 / 0.5607 GB, free: 33.4 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2799, allocations: 0 / 0.5607 GB, free: 33.4 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.28, allocations: 2.031 kB / 0.5607 GB, free: 33.4 MB / 446.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.0008381/0.2808, allocations: 0.6318 MB / 0.5614 GB, free: 32.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.2808, allocations: 10 kB / 0.5614 GB, free: 32.89 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.447e-05/0.2809, allocations: 51.8 kB / 0.5614 GB, free: 32.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001758/0.2811, allocations: 38.98 kB / 0.5615 GB, free: 32.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.2813, allocations: 266.7 kB / 0.5617 GB, free: 32.58 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.2813, allocations: 14.16 kB / 0.5617 GB, free: 32.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.2813, allocations: 19.62 kB / 0.5617 GB, free: 32.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004351/0.2818, allocations: 234.7 kB / 0.562 GB, free: 32.44 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.2818, allocations: 1.312 kB / 0.562 GB, free: 32.44 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.2818, allocations: 5.125 kB / 0.562 GB, free: 32.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.2818, allocations: 7.594 kB / 0.562 GB, free: 32.43 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005555/0.2824, allocations: 196.6 kB / 0.5622 GB, free: 32.39 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008291/0.2832, allocations: 0.9384 MB / 0.5631 GB, free: 31.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006544/0.2839, allocations: 238.1 kB / 0.5633 GB, free: 31.51 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002802/0.2842, allocations: 117.3 kB / 0.5634 GB, free: 31.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.2842, allocations: 6.672 kB / 0.5634 GB, free: 31.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.171e-05/0.2842, allocations: 41.14 kB / 0.5635 GB, free: 31.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.192e-06/0.2842, allocations: 1.125 kB / 0.5635 GB, free: 31.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009925/0.2852, allocations: 336.9 kB / 0.5638 GB, free: 31.31 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.105e-05/0.2852, allocations: 80.31 kB / 0.5639 GB, free: 31.22 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.2855, allocations: 266.5 kB / 0.5641 GB, free: 31.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.2855, allocations: 27.2 kB / 0.5642 GB, free: 31.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.323e-05/0.2855, allocations: 161.6 kB / 0.5643 GB, free: 30.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.821e-05/0.2856, allocations: 54.25 kB / 0.5644 GB, free: 30.85 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.786e-05/0.2856, allocations: 40.09 kB / 0.5644 GB, free: 30.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.795e-05/0.2857, allocations: 338.7 kB / 0.5647 GB, free: 30.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000282/0.286, allocations: 90.78 kB / 0.5648 GB, free: 30.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002812/0.2863, allocations: 139.5 kB / 0.5649 GB, free: 30.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005415/0.2868, allocations: 246 kB / 0.5652 GB, free: 30.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2868, allocations: 0 / 0.5652 GB, free: 30.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006988/0.2875, allocations: 300.2 kB / 0.5655 GB, free: 30.19 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.2876, allocations: 6.625 kB / 0.5655 GB, free: 30.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.2876, allocations: 1.156 kB / 0.5655 GB, free: 30.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.2876, allocations: 4.281 kB / 0.5655 GB, free: 30.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/0.2878, allocations: 62.41 kB / 0.5655 GB, free: 30.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.2879, allocations: 4.516 kB / 0.5655 GB, free: 30.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/0.2881, allocations: 42.2 kB / 0.5656 GB, free: 30.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.2881, allocations: 7.047 kB / 0.5656 GB, free: 30.17 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.633e-05/0.2882, allocations: 137.6 kB / 0.5657 GB, free: 30.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.657e-05/0.2883, allocations: 33.19 kB / 0.5657 GB, free: 30.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006944/0.289, allocations: 289 kB / 0.566 GB, free: 29.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.289, allocations: 6.438 kB / 0.566 GB, free: 29.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.289, allocations: 0.5625 kB / 0.566 GB, free: 29.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.289, allocations: 1.672 kB / 0.566 GB, free: 29.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002862/0.2893, allocations: 295.3 kB / 0.5663 GB, free: 29.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.2893, allocations: 0.5156 kB / 0.5663 GB, free: 29.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002416/0.2895, allocations: 51.41 kB / 0.5664 GB, free: 29.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.2896, allocations: 2.688 kB / 0.5664 GB, free: 29.67 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.2896, allocations: 7.469 kB / 0.5664 GB, free: 29.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.2896, allocations: 2.969 kB / 0.5664 GB, free: 29.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.103e-06/0.2896, allocations: 9.859 kB / 0.5664 GB, free: 29.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006765/0.2903, allocations: 438.2 kB / 0.5668 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.738e-05/0.2903, allocations: 109.4 kB / 0.5669 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.342e-05/0.2904, allocations: 6.422 kB / 0.5669 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/0.2906, allocations: 27.86 kB / 0.5669 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.909e-05/0.2907, allocations: 18.89 kB / 0.567 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.2907, allocations: 5.281 kB / 0.567 GB, free: 29.26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001309/0.2908, allocations: 190.7 kB / 0.5671 GB, free: 29.15 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2908, allocations: 0.6875 kB / 0.5671 GB, free: 29.15 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003137/0.2911, allocations: 59.09 kB / 0.5672 GB, free: 29.14 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 (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.0008817/0.292, allocations: 0.9963 MB / 0.5682 GB, free: 28.33 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006602/0.2927, allocations: 231.7 kB / 0.5684 GB, free: 28.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2927, allocations: 0 / 0.5684 GB, free: 28.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003084/0.293, allocations: 116.2 kB / 0.5685 GB, free: 28.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005216/0.2936, allocations: 77.03 kB / 0.5686 GB, free: 28.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003175/0.2967, allocations: 2.79 MB / 0.5713 GB, free: 26.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001441/0.2969, allocations: 0.7513 MB / 0.572 GB, free: 25.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001385/0.297, allocations: 33.69 kB / 0.5721 GB, free: 25.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.2972, allocations: 86.31 kB / 0.5722 GB, free: 25.53 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2972, allocations: 0 / 0.5722 GB, free: 25.53 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3464/0.6435, allocations: 6.16 MB / 0.5782 GB, free: 24.73 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001413/0.6437, allocations: 211.4 kB / 0.5784 GB, free: 24.48 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.742/2.385, allocations: 5.188 kB / 0.5784 GB, free: 24.47 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)