Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.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/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.HACoilInside,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.001147/0.001147, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001398/0.001398, allocations: 172.7 kB / 15.95 MB, free: 208 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.439/1.439, allocations: 223.3 MB / 240 MB, free: 5.391 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.382/2.382, allocations: 390.4 MB / 0.6655 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003534, allocations: 16 kB / 0.8149 GB, free: 14.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7094/0.7098, allocations: 142.3 MB / 0.9539 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.00159/0.7114, allocations: 1.303 MB / 0.9551 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.7126, allocations: 0.8459 MB / 0.956 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.323e-05/0.7127, allocations: 0 / 0.956 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.7e-05/0.7127, allocations: 5.125 kB / 0.956 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001855/0.7129, allocations: 23.16 kB / 0.956 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002475/0.7131, allocations: 100.2 kB / 0.9561 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.7133, allocations: 64.88 kB / 0.9561 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.738e-05/0.7133, allocations: 5.344 kB / 0.9561 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.743e-05/0.7135, allocations: 32.97 kB / 0.9562 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.7136, allocations: 33.28 kB / 0.9562 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.7136, allocations: 1.344 kB / 0.9562 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003329/0.7139, allocations: 275.1 kB / 0.9565 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.467e-05/0.714, allocations: 9.391 kB / 0.9565 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.454e-05/0.714, allocations: 38.23 kB / 0.9565 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.7142, allocations: 98.09 kB / 0.9566 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.7142, allocations: 1.219 kB / 0.9566 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7142, allocations: 0 / 0.9566 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.7142, allocations: 0 / 0.9566 GB, free: 5.926 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004395/0.7146, allocations: 406.7 kB / 0.957 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.7147, allocations: 13.94 kB / 0.957 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.703e-05/0.7147, allocations: 35.53 kB / 0.957 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.7148, allocations: 13.7 kB / 0.9571 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.715, allocations: 182.3 kB / 0.9572 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.464e-06/0.715, allocations: 5.156 kB / 0.9572 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.715, allocations: 7.219 kB / 0.9572 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.7151, allocations: 62.09 kB / 0.9573 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.7152, allocations: 4 kB / 0.9573 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.7152, allocations: 4 kB / 0.9573 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.7152, allocations: 1.469 kB / 0.9573 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.7153, allocations: 54.31 kB / 0.9574 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003464/0.7157, allocations: 293.2 kB / 0.9576 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.7158, allocations: 64.98 kB / 0.9577 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.104e-05/0.7159, allocations: 28.62 kB / 0.9577 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.7159, allocations: 5.344 kB / 0.9577 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.357e-05/0.7159, allocations: 35.94 kB / 0.9578 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.716, allocations: 0 / 0.9578 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0003469/0.7163, allocations: 128.7 kB / 0.9579 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/0.7163, allocations: 56.75 kB / 0.958 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.21e-05/0.7164, allocations: 127.6 kB / 0.9581 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.396e-06/0.7164, allocations: 25.7 kB / 0.9581 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.855e-05/0.7165, allocations: 96.86 kB / 0.9582 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.553e-05/0.7165, allocations: 16.64 kB / 0.9582 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-06/0.7165, allocations: 0 / 0.9582 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.023e-05/0.7166, allocations: 317.5 kB / 0.9585 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.277e-05/0.7167, allocations: 27.64 kB / 0.9585 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.325e-05/0.7167, allocations: 28.42 kB / 0.9586 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.45e-05/0.7168, allocations: 26.48 kB / 0.9586 GB, free: 4 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.7168, allocations: 0 / 0.9586 GB, free: 4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001901/0.717, allocations: 104.9 kB / 0.9587 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.717, allocations: 5.375 kB / 0.9587 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.717, allocations: 448 / 0.9587 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.7171, allocations: 3.953 kB / 0.9587 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.7172, allocations: 19.77 kB / 0.9587 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.7172, allocations: 5.656 kB / 0.9587 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.675e-05/0.7173, allocations: 16.16 kB / 0.9587 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.178e-06/0.7173, allocations: 6.672 kB / 0.9587 GB, free: 3.902 MB / 0.7169 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.526e-05/0.7173, allocations: 112.5 kB / 0.9589 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.857e-05/0.7174, allocations: 3.75 kB / 0.9589 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002478/0.7176, allocations: 110.9 kB / 0.959 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.7176, allocations: 5.297 kB / 0.959 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.7176, allocations: 0 / 0.959 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.7177, allocations: 0 / 0.959 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.7178, allocations: 199.3 kB / 0.9592 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.7178, allocations: 0 / 0.9592 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.246e-05/0.7179, allocations: 21.19 kB / 0.9592 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.7179, allocations: 0 / 0.9592 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.7179, allocations: 1.375 kB / 0.9592 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.7179, allocations: 4 kB / 0.9592 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.7179, allocations: 5.359 kB / 0.9592 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000214/0.7181, allocations: 191.3 kB / 0.9594 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.321e-05/0.7182, allocations: 82.45 kB / 0.9594 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.7182, allocations: 5.312 kB / 0.9595 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.196e-05/0.7183, allocations: 9.016 kB / 0.9595 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.7183, allocations: 2.281 kB / 0.9595 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.7183, allocations: 5.297 kB / 0.9595 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.472e-05/0.7184, allocations: 110.7 kB / 0.9596 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7184, allocations: 0 / 0.9596 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002481/0.7187, allocations: 21.97 kB / 0.9596 GB, free: 3.09 MB / 0.7169 GB 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 (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.0004627/0.7191, allocations: 0.7357 MB / 0.9603 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001936/0.7193, allocations: 76.61 kB / 0.9604 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.7193, allocations: 0 / 0.9604 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.975e-05/0.7194, allocations: 31.02 kB / 0.9604 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.7197, allocations: 8.5 kB / 0.9604 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008951/0.7206, allocations: 0.6147 MB / 0.961 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001162/0.7208, allocations: 0.693 MB / 0.9617 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.929e-05/0.7208, allocations: 8.312 kB / 0.9617 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.401e-05/0.7209, allocations: 22.17 kB / 0.9617 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.7209, allocations: 0 / 0.9617 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01183/0.7327, allocations: 2.025 MB / 0.9637 GB, free: 204 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001562/0.7329, allocations: 204.7 kB / 0.9639 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.743/2.476, allocations: 0 / 0.9639 GB, free: 15.96 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat does not exist to compare? outputFormat=mat