Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.37/1.37, allocations: 251.9 MB / 266.8 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001223/0.001223, allocations: 180.9 kB / 326.5 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.867/1.867, allocations: 205.4 MB / 0.5775 GB, free: 20.22 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009071/0.0009071, allocations: 95.72 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003504/0.0003505, allocations: 15.16 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2582, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002155/0.2605, allocations: 1.761 MB / 0.9019 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001643/0.2621, allocations: 0.9837 MB / 0.9028 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001545/0.2623, allocations: 4 kB / 0.9028 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.446e-05/0.2624, allocations: 19.78 kB / 0.9029 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003384/0.2627, allocations: 79.78 kB / 0.9029 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003299/0.2631, allocations: 130.1 kB / 0.9031 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002301/0.2633, allocations: 187.5 kB / 0.9032 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002393/0.2636, allocations: 64.69 kB / 0.9033 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.2637, allocations: 79.64 kB / 0.9034 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002344/0.2639, allocations: 123.4 kB / 0.9035 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.627e-05/0.264, allocations: 8 kB / 0.9035 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003365/0.2643, allocations: 271.7 kB / 0.9038 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.338e-05/0.2644, allocations: 39.75 kB / 0.9038 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.318e-05/0.2644, allocations: 65.58 kB / 0.9039 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002512/0.2647, allocations: 215.8 kB / 0.9041 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.2647, allocations: 0 / 0.9041 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.485e-06/0.2647, allocations: 0 / 0.9041 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.2647, allocations: 0 / 0.9041 GB, free: 59.78 MB / 0.6042 GB 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.000996/0.2657, allocations: 0.6156 MB / 0.9047 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.2658, allocations: 8.031 kB / 0.9047 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.088e-05/0.2658, allocations: 46.55 kB / 0.9047 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002153/0.2661, allocations: 43.56 kB / 0.9048 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003139/0.2664, allocations: 266.4 kB / 0.905 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.2664, allocations: 12.22 kB / 0.905 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.2664, allocations: 16 kB / 0.905 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000571/0.267, allocations: 256.2 kB / 0.9053 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.267, allocations: 0 / 0.9053 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/0.2671, allocations: 7.938 kB / 0.9053 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.2671, allocations: 4 kB / 0.9053 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006641/0.2678, allocations: 243.7 kB / 0.9055 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001322/0.2691, allocations: 0.9461 MB / 0.9065 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008001/0.2699, allocations: 261.2 kB / 0.9067 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.558e-05/0.27, allocations: 4.312 kB / 0.9067 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.27, allocations: 38.55 kB / 0.9067 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 1.744e-06/0.27, allocations: 0 / 0.9067 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=16): time 0.001213/0.2712, allocations: 401.1 kB / 0.9071 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.2713, allocations: 81.11 kB / 0.9072 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002119/0.2715, allocations: 263 kB / 0.9075 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.2715, allocations: 25.7 kB / 0.9075 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.846e-05/0.2716, allocations: 172 kB / 0.9076 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.22e-05/0.2717, allocations: 55.2 kB / 0.9077 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.049e-05/0.2717, allocations: 4 kB / 0.9077 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.2718, allocations: 338.8 kB / 0.908 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003102/0.2721, allocations: 115.9 kB / 0.9081 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003269/0.2725, allocations: 160 kB / 0.9083 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003134/0.2728, allocations: 119.9 kB / 0.9084 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2728, allocations: 0 / 0.9084 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000766/0.2736, allocations: 333.7 kB / 0.9087 GB, free: 54.72 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.2736, allocations: 4 kB / 0.9087 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.2736, allocations: 4 kB / 0.9087 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.2736, allocations: 4 kB / 0.9087 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002686/0.2739, allocations: 76 kB / 0.9088 GB, free: 54.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.2739, allocations: 4.078 kB / 0.9088 GB, free: 54.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002335/0.2742, allocations: 43.81 kB / 0.9088 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.101e-05/0.2742, allocations: 19.97 kB / 0.9089 GB, free: 54.57 MB / 0.6042 GB 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.0001298/0.2743, allocations: 133.7 kB / 0.909 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.907e-05/0.2744, allocations: 31.62 kB / 0.909 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000782/0.2752, allocations: 339.1 kB / 0.9093 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.2753, allocations: 0 / 0.9093 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.2753, allocations: 7.938 kB / 0.9094 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.2753, allocations: 0 / 0.9094 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000335/0.2756, allocations: 301.3 kB / 0.9096 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.2756, allocations: 0 / 0.9096 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002431/0.2759, allocations: 63.89 kB / 0.9097 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.2759, allocations: 7.984 kB / 0.9097 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.2759, allocations: 8 kB / 0.9097 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.2759, allocations: 0 / 0.9097 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2759, allocations: 4 kB / 0.9097 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007873/0.2767, allocations: 490.1 kB / 0.9102 GB, free: 53.12 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.295e-05/0.2768, allocations: 112.7 kB / 0.9103 GB, free: 52.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.655e-05/0.2768, allocations: 4 kB / 0.9103 GB, free: 52.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002464/0.2771, allocations: 39.97 kB / 0.9103 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.76e-05/0.2772, allocations: 19.91 kB / 0.9104 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.2772, allocations: 8 kB / 0.9104 GB, free: 52.92 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001496/0.2773, allocations: 186 kB / 0.9105 GB, free: 52.74 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.81e-07/0.2774, allocations: 0 / 0.9105 GB, free: 52.74 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003596/0.2777, allocations: 56.25 kB / 0.9106 GB, free: 52.68 MB / 0.6042 GB 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.001121/0.2788, allocations: 1.112 MB / 0.9117 GB, free: 51.54 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007116/0.2796, allocations: 273.8 kB / 0.9119 GB, free: 51.28 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2796, allocations: 0 / 0.9119 GB, free: 51.28 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003303/0.2799, allocations: 139.9 kB / 0.9121 GB, free: 51.14 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005101/0.2804, allocations: 68.78 kB / 0.9121 GB, free: 51.07 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.2817, allocations: 1.666 MB / 0.9138 GB, free: 49.32 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002138/0.2819, allocations: 0.7596 MB / 0.9145 GB, free: 48.54 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001497/0.2821, allocations: 30.28 kB / 0.9145 GB, free: 48.51 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.2822, allocations: 87.41 kB / 0.9146 GB, free: 48.43 MB / 0.6042 GB Notification: Performance of SimCode: time 4.31e-07/0.2822, allocations: 0 / 0.9146 GB, free: 48.43 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01689/0.2991, allocations: 5.76 MB / 0.9202 GB, free: 42.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001605/0.2993, allocations: 206.3 kB / 0.9204 GB, free: 42.67 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.01/2.309, allocations: 0 / 0.9204 GB, free: 42.67 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)