Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_9_Buildings_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.0007749/0.000775, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0007937/0.0007939, allocations: 168.7 kB / 15.95 MB, free: 204 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.365/1.365, allocations: 223.2 MB / 240 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.324/2.324, allocations: 390.4 MB / 0.6655 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003403/0.0003404, allocations: 12 kB / 0.8149 GB, free: 14.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7421/0.7425, allocations: 142.3 MB / 0.9539 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002355/0.7448, allocations: 1.792 MB / 0.9556 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001657/0.7465, allocations: 0.9798 MB / 0.9566 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002267/0.7468, allocations: 5.344 kB / 0.9566 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.19e-05/0.7469, allocations: 13.2 kB / 0.9566 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003386/0.7472, allocations: 76.83 kB / 0.9567 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004452/0.7477, allocations: 129.1 kB / 0.9568 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003494/0.748, allocations: 264.6 kB / 0.957 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001783/0.7482, allocations: 56.38 kB / 0.9571 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.7484, allocations: 84.61 kB / 0.9572 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002425/0.7486, allocations: 126.2 kB / 0.9573 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.34e-05/0.7487, allocations: 8.125 kB / 0.9573 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004511/0.7491, allocations: 270.7 kB / 0.9575 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.13e-05/0.7492, allocations: 38.86 kB / 0.9576 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.827e-05/0.7493, allocations: 72.52 kB / 0.9577 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000273/0.7495, allocations: 217.6 kB / 0.9579 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.7496, allocations: 1.219 kB / 0.9579 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.796e-06/0.7496, allocations: 3.984 kB / 0.9579 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.099e-05/0.7496, allocations: 0 / 0.9579 GB, free: 4.961 MB / 0.7169 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.00103/0.7506, allocations: 0.614 MB / 0.9585 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.7507, allocations: 9.812 kB / 0.9585 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.119e-05/0.7507, allocations: 46.27 kB / 0.9585 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002289/0.751, allocations: 42.69 kB / 0.9586 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003244/0.7513, allocations: 269 kB / 0.9588 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.7513, allocations: 10 kB / 0.9588 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.779e-05/0.7514, allocations: 21.2 kB / 0.9588 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005143/0.7519, allocations: 251.9 kB / 0.9591 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.7519, allocations: 0 / 0.9591 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.7519, allocations: 5.781 kB / 0.9591 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.7519, allocations: 3.594 kB / 0.9591 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006013/0.7526, allocations: 244.8 kB / 0.9593 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.7536, allocations: 0.9524 MB / 0.9603 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007154/0.7543, allocations: 263 kB / 0.9605 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003051/0.7546, allocations: 124 kB / 0.9606 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.7547, allocations: 2.188 kB / 0.9606 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.7547, allocations: 36.69 kB / 0.9607 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.433e-06/0.7547, allocations: 0 / 0.9607 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.001159/0.7558, allocations: 402.6 kB / 0.9611 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.7559, allocations: 79.64 kB / 0.9611 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002525/0.7562, allocations: 260.5 kB / 0.9614 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.7562, allocations: 34.92 kB / 0.9614 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.504e-05/0.7563, allocations: 168.9 kB / 0.9616 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.708e-05/0.7563, allocations: 57.94 kB / 0.9616 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.063e-05/0.7563, allocations: 0.75 kB / 0.9616 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.165e-05/0.7564, allocations: 336.8 kB / 0.9619 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003058/0.7567, allocations: 116.8 kB / 0.9621 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000312/0.757, allocations: 162.8 kB / 0.9622 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003112/0.7573, allocations: 119.8 kB / 0.9623 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.7574, allocations: 0.9375 kB / 0.9623 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007853/0.7581, allocations: 334.1 kB / 0.9626 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.7582, allocations: 5.656 kB / 0.9627 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.7582, allocations: 2.469 kB / 0.9627 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.7582, allocations: 6.125 kB / 0.9627 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002769/0.7585, allocations: 73.17 kB / 0.9627 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.7585, allocations: 6.484 kB / 0.9627 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/0.7588, allocations: 50.44 kB / 0.9628 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.7588, allocations: 10.89 kB / 0.9628 GB, free: 1.211 MB / 0.7169 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 9.974e-05/0.7589, allocations: 130.6 kB / 0.9629 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.759, allocations: 25.19 kB / 0.9629 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007754/0.7598, allocations: 340.3 kB / 0.9633 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.7598, allocations: 2.406 kB / 0.9633 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.7598, allocations: 5.094 kB / 0.9633 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.7598, allocations: 8.953 kB / 0.9633 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000319/0.7602, allocations: 298.6 kB / 0.9636 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.7602, allocations: 0 / 0.9636 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002356/0.7604, allocations: 59.48 kB / 0.9636 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.7604, allocations: 5.594 kB / 0.9636 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.7604, allocations: 9.062 kB / 0.9636 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.7604, allocations: 2.156 kB / 0.9636 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.7605, allocations: 0 / 0.9636 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007631/0.7612, allocations: 483 kB / 0.9641 GB, free: 256 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.417e-05/0.7613, allocations: 104.2 kB / 0.9642 GB, free: 140 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.912e-05/0.7613, allocations: 5.312 kB / 0.9642 GB, free: 136 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002514/0.7616, allocations: 48.36 kB / 0.9643 GB, free: 112 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.972e-05/0.7617, allocations: 18.53 kB / 0.9643 GB, free: 100 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.7617, allocations: 12.7 kB / 0.9643 GB, free: 92 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001903/0.7619, allocations: 184.2 kB / 0.9645 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7619, allocations: 0 / 0.9645 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000382/0.7623, allocations: 54.75 kB / 0.9645 GB, free: 15.96 MB / 0.7325 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.001308/0.7636, allocations: 1.043 MB / 0.9655 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007758/0.7644, allocations: 265.9 kB / 0.9658 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.7644, allocations: 0 / 0.9658 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003678/0.7648, allocations: 137.2 kB / 0.9659 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006227/0.7654, allocations: 72.62 kB / 0.966 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003346/0.7688, allocations: 1.578 MB / 0.9675 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/0.7691, allocations: 0.7502 MB / 0.9683 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001948/0.7693, allocations: 28.88 kB / 0.9683 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/0.7695, allocations: 83.97 kB / 0.9684 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of SimCode: time 9.92e-07/0.7695, allocations: 0.8125 kB / 0.9684 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01858/0.7881, allocations: 5.837 MB / 0.9741 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001655/0.7883, allocations: 194.8 kB / 0.9743 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.849/2.637, allocations: 0.8438 kB / 0.9743 GB, free: 10.07 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat does not exist to compare? outputFormat=mat