Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 112 kB / 17.6 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002031/0.002031, allocations: 186 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.985/2.985, allocations: 476.7 MB / 0.7629 GB, free: 15.1 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002329/0.002329, allocations: 71.89 kB / 1.107 GB, free: 5.039 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.128/1.131, allocations: 168.7 MB / 1.272 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002924/1.134, allocations: 1.631 MB / 1.273 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001508/1.135, allocations: 0.9353 MB / 1.274 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.632e-05/1.135, allocations: 0.9688 kB / 1.274 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.864e-05/1.135, allocations: 3.938 kB / 1.274 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002217/1.135, allocations: 23.92 kB / 1.274 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000387/1.136, allocations: 140.6 kB / 1.274 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001567/1.136, allocations: 83.12 kB / 1.274 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/1.136, allocations: 13.5 kB / 1.274 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.432e-05/1.136, allocations: 28.72 kB / 1.274 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/1.136, allocations: 36.09 kB / 1.274 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/1.136, allocations: 4.594 kB / 1.274 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00047/1.137, allocations: 282 kB / 1.275 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.37e-05/1.137, allocations: 18.97 kB / 1.275 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.039e-05/1.137, allocations: 27.88 kB / 1.275 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002876/1.137, allocations: 160.3 kB / 1.275 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/1.137, allocations: 0 / 1.275 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.122e-06/1.137, allocations: 0 / 1.275 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.901e-06/1.137, allocations: 1.062 kB / 1.275 GB, free: 5.617 MB / 0.9981 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.0005232/1.138, allocations: 406.5 kB / 1.275 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/1.138, allocations: 11.64 kB / 1.275 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.431e-05/1.138, allocations: 39.66 kB / 1.275 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/1.138, allocations: 12.53 kB / 1.275 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/1.138, allocations: 178.2 kB / 1.275 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/1.138, allocations: 5.812 kB / 1.275 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/1.138, allocations: 3.547 kB / 1.275 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/1.138, allocations: 67.73 kB / 1.276 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/1.138, allocations: 0 / 1.276 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/1.138, allocations: 2.266 kB / 1.276 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/1.138, allocations: 4.75 kB / 1.276 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001578/1.139, allocations: 45.36 kB / 1.276 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003904/1.139, allocations: 301.4 kB / 1.276 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/1.139, allocations: 48.53 kB / 1.276 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.964e-05/1.139, allocations: 30 kB / 1.276 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/1.139, allocations: 1.656 kB / 1.276 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/1.139, allocations: 43.28 kB / 1.276 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/1.139, allocations: 0.9375 kB / 1.276 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5): time 0.0003915/1.14, allocations: 104 kB / 1.276 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/1.14, allocations: 57.27 kB / 1.276 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/1.14, allocations: 132.4 kB / 1.276 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/1.14, allocations: 29.7 kB / 1.276 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.134e-05/1.14, allocations: 95.03 kB / 1.276 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/1.14, allocations: 16.81 kB / 1.276 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.726e-05/1.14, allocations: 18.34 kB / 1.276 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.813e-05/1.14, allocations: 323.9 kB / 1.277 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.01e-05/1.14, allocations: 19.66 kB / 1.277 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.037e-05/1.14, allocations: 29.53 kB / 1.277 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/1.14, allocations: 60.69 kB / 1.277 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/1.14, allocations: 0 / 1.277 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002126/1.14, allocations: 89.66 kB / 1.277 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/1.14, allocations: 4.469 kB / 1.277 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/1.14, allocations: 0.8125 kB / 1.277 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/1.14, allocations: 0.6562 kB / 1.277 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/1.141, allocations: 17.67 kB / 1.277 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.82e-06/1.141, allocations: 0.6875 kB / 1.277 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.885e-05/1.141, allocations: 12.89 kB / 1.277 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/1.141, allocations: 1.094 kB / 1.277 GB, free: 3.703 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.86e-05/1.141, allocations: 124 kB / 1.277 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.68e-05/1.141, allocations: 7.422 kB / 1.277 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002516/1.141, allocations: 97.83 kB / 1.277 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/1.141, allocations: 1.094 kB / 1.277 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/1.141, allocations: 0 / 1.277 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/1.141, allocations: 2.422 kB / 1.277 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/1.141, allocations: 186.2 kB / 1.277 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/1.141, allocations: 2.578 kB / 1.277 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.191e-05/1.141, allocations: 12.81 kB / 1.277 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/1.141, allocations: 0.875 kB / 1.277 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/1.141, allocations: 4.719 kB / 1.277 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/1.141, allocations: 0.75 kB / 1.277 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/1.141, allocations: 8.891 kB / 1.277 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002367/1.142, allocations: 192 kB / 1.278 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.497e-05/1.142, allocations: 84.16 kB / 1.278 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/1.142, allocations: 5.656 kB / 1.278 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.344e-05/1.142, allocations: 5.5 kB / 1.278 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/1.142, allocations: 9.406 kB / 1.278 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.361e-06/1.142, allocations: 5 kB / 1.278 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.526e-05/1.142, allocations: 106 kB / 1.278 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.142, allocations: 4.969 kB / 1.278 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002541/1.142, allocations: 22.12 kB / 1.278 GB, free: 2.934 MB / 0.9981 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 (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.0004926/1.142, allocations: 0.7395 MB / 1.279 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002265/1.143, allocations: 50.42 kB / 1.279 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.143, allocations: 0 / 1.279 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9e-05/1.143, allocations: 34.77 kB / 1.279 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/1.143, allocations: 11.02 kB / 1.279 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/1.145, allocations: 1.477 MB / 1.28 GB, free: 16.94 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/1.145, allocations: 0.6917 MB / 1.281 GB, free: 16.24 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.365e-05/1.145, allocations: 3.875 kB / 1.281 GB, free: 16.24 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.142e-05/1.145, allocations: 27.3 kB / 1.281 GB, free: 16.23 MB / 1.014 GB Notification: Performance of SimCode: time 2.8e-07/1.145, allocations: 0.7188 kB / 1.281 GB, free: 16.23 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02808/1.173, allocations: 2.303 MB / 1.283 GB, free: 15.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.256/9.429, allocations: 13.45 kB / 1.283 GB, free: 15.8 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.csv --start-time 0 --stop-time 15 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.965899538015947] Failed to read output from testmodel.py, exit status != 0: 9.502575121994596 9.536425193 8.393836045 Calling exit ...