Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.818/1.818, allocations: 289.7 MB / 302.3 MB, free: 2.156 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001161/0.001161, allocations: 183.5 kB / 371.6 MB, free: 3.359 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.834/1.834, allocations: 205.2 MB / 0.6309 GB, free: 11.78 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009353/0.0009354, allocations: 97.39 kB / 0.745 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.491e-05/4.496e-05, allocations: 4 kB / 0.8663 GB, free: 15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3126, allocations: 116.3 MB / 0.9799 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.99/1.303, allocations: 141.3 MB / 1.118 GB, free: 42.99 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/1.303, allocations: 81.55 kB / 1.118 GB, free: 42.96 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.02029/1.323, allocations: 7.542 MB / 1.125 GB, free: 38.68 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.533e-06/1.323, allocations: 0 / 1.125 GB, free: 38.68 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.538e-05/1.323, allocations: 8 kB / 1.125 GB, free: 38.68 MB / 0.7448 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.0008597/1.324, allocations: 0.5577 MB / 1.126 GB, free: 38.13 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/1.324, allocations: 8.031 kB / 1.126 GB, free: 38.12 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.422e-05/1.324, allocations: 56.8 kB / 1.126 GB, free: 38.07 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002239/1.325, allocations: 36.72 kB / 1.126 GB, free: 38.04 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004215/1.325, allocations: 282.9 kB / 1.126 GB, free: 37.77 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/1.325, allocations: 17.92 kB / 1.126 GB, free: 37.76 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/1.325, allocations: 15.75 kB / 1.126 GB, free: 37.75 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002612/1.325, allocations: 181 kB / 1.126 GB, free: 37.61 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/1.325, allocations: 0 / 1.126 GB, free: 37.61 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/1.325, allocations: 10.94 kB / 1.126 GB, free: 37.6 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/1.325, allocations: 4 kB / 1.126 GB, free: 37.59 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001898/1.326, allocations: 105.3 kB / 1.127 GB, free: 37.53 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/1.327, allocations: 0.9651 MB / 1.128 GB, free: 36.68 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000497/1.327, allocations: 205.4 kB / 1.128 GB, free: 36.52 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.458e-05/1.327, allocations: 55.59 kB / 1.128 GB, free: 36.47 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/1.327, allocations: 0 / 1.128 GB, free: 36.47 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/1.327, allocations: 37.94 kB / 1.128 GB, free: 36.43 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.172e-06/1.327, allocations: 4 kB / 1.128 GB, free: 36.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0003969/1.328, allocations: 149.6 kB / 1.128 GB, free: 36.31 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/1.328, allocations: 84.98 kB / 1.128 GB, free: 36.21 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/1.328, allocations: 230.7 kB / 1.128 GB, free: 36.03 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/1.328, allocations: 30.36 kB / 1.128 GB, free: 35.99 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.038e-05/1.328, allocations: 156.5 kB / 1.128 GB, free: 35.88 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.257e-05/1.328, allocations: 53.44 kB / 1.128 GB, free: 35.84 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.618e-06/1.328, allocations: 7.938 kB / 1.128 GB, free: 35.84 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.839e-05/1.328, allocations: 337.2 kB / 1.129 GB, free: 35.52 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.162e-05/1.328, allocations: 43.19 kB / 1.129 GB, free: 35.49 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.817e-05/1.328, allocations: 89.62 kB / 1.129 GB, free: 35.41 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.538e-05/1.328, allocations: 60.25 kB / 1.129 GB, free: 35.37 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/1.328, allocations: 7.891 kB / 1.129 GB, free: 35.36 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003132/1.329, allocations: 204 kB / 1.129 GB, free: 35.21 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/1.329, allocations: 4 kB / 1.129 GB, free: 35.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/1.329, allocations: 4 kB / 1.129 GB, free: 35.2 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/1.329, allocations: 0 / 1.129 GB, free: 35.2 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002915/1.329, allocations: 77.62 kB / 1.129 GB, free: 35.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/1.329, allocations: 7.406 kB / 1.129 GB, free: 35.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000224/1.329, allocations: 50.69 kB / 1.129 GB, free: 35.1 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/1.329, allocations: 11.42 kB / 1.129 GB, free: 35.09 MB / 0.7448 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 () * 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 6.15e-05/1.329, allocations: 110.4 kB / 1.129 GB, free: 34.98 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.726e-05/1.33, allocations: 31.67 kB / 1.129 GB, free: 34.95 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003309/1.33, allocations: 194.6 kB / 1.13 GB, free: 34.83 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/1.33, allocations: 4 kB / 1.13 GB, free: 34.83 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/1.33, allocations: 4.562 kB / 1.13 GB, free: 34.82 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/1.33, allocations: 0 / 1.13 GB, free: 34.82 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002999/1.33, allocations: 296.3 kB / 1.13 GB, free: 34.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/1.33, allocations: 4 kB / 1.13 GB, free: 34.57 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002543/1.331, allocations: 69.48 kB / 1.13 GB, free: 34.52 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/1.331, allocations: 0 / 1.13 GB, free: 34.52 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/1.331, allocations: 8.562 kB / 1.13 GB, free: 34.51 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/1.331, allocations: 4 kB / 1.13 GB, free: 34.51 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/1.331, allocations: 3.328 kB / 1.13 GB, free: 34.51 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003273/1.331, allocations: 349.7 kB / 1.13 GB, free: 34.19 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.191e-05/1.331, allocations: 104.3 kB / 1.13 GB, free: 34.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.134e-05/1.331, allocations: 7.703 kB / 1.13 GB, free: 34.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002595/1.331, allocations: 43.83 kB / 1.131 GB, free: 34.04 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.456e-05/1.331, allocations: 18.62 kB / 1.131 GB, free: 34.03 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/1.331, allocations: 4 kB / 1.131 GB, free: 34.03 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001612/1.332, allocations: 187.8 kB / 1.131 GB, free: 33.88 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.41e-07/1.332, allocations: 0 / 1.131 GB, free: 33.88 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003324/1.332, allocations: 67.84 kB / 1.131 GB, free: 33.82 MB / 0.7448 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 () * 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.0006145/1.333, allocations: 0.9788 MB / 1.132 GB, free: 32.87 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002634/1.333, allocations: 131 kB / 1.132 GB, free: 32.78 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/1.333, allocations: 0 / 1.132 GB, free: 32.78 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001201/1.333, allocations: 75.84 kB / 1.132 GB, free: 32.72 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004555/1.333, allocations: 64.02 kB / 1.132 GB, free: 32.69 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000774/1.334, allocations: 366.2 kB / 1.132 GB, free: 32.36 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002065/1.334, allocations: 0.7537 MB / 1.133 GB, free: 31.62 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001472/1.335, allocations: 34.38 kB / 1.133 GB, free: 31.59 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/1.335, allocations: 83.66 kB / 1.133 GB, free: 31.58 MB / 0.7448 GB Notification: Performance of SimCode: time 2.4e-07/1.335, allocations: 0 / 1.133 GB, free: 31.58 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01737/1.352, allocations: 5.797 MB / 1.139 GB, free: 28.35 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001584/1.352, allocations: 165.8 kB / 1.139 GB, free: 28.12 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.161/3.513, allocations: 0 / 1.139 GB, free: 28.12 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)