Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 116.1 kB / 17.17 MB, free: 6 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 209.6 kB / 20.13 MB, free: 3.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.372/1.372, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002338/0.002338, allocations: 284 kB / 309.8 MB, free: 3.441 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.008/1.008, allocations: 180.6 MB / 0.5338 GB, free: 12.39 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002717/0.002717, allocations: 99.84 kB / 0.7347 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4876/0.4904, allocations: 95.34 MB / 0.8278 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002294/0.4927, allocations: 1.61 MB / 0.8294 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001199/0.4938, allocations: 0.9954 MB / 0.8303 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.227e-05/0.4939, allocations: 6.625 kB / 0.8303 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.207e-05/0.4939, allocations: 5.016 kB / 0.8303 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001933/0.4941, allocations: 25.69 kB / 0.8304 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003261/0.4945, allocations: 153.2 kB / 0.8305 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.4946, allocations: 81.33 kB / 0.8306 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.224e-05/0.4947, allocations: 15.17 kB / 0.8306 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.4948, allocations: 37.12 kB / 0.8306 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.183e-05/0.4949, allocations: 36.03 kB / 0.8307 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.4949, allocations: 5.375 kB / 0.8307 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003601/0.4953, allocations: 296 kB / 0.831 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.575e-05/0.4953, allocations: 9.469 kB / 0.831 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.581e-05/0.4953, allocations: 28.12 kB / 0.831 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.4955, allocations: 164 kB / 0.8312 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.4955, allocations: 0 / 0.8312 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4955, allocations: 0 / 0.8312 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.4956, allocations: 6.344 kB / 0.8312 GB, free: 0.9102 MB / 0.5762 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.0004655/0.496, allocations: 414.3 kB / 0.8316 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.4961, allocations: 10.25 kB / 0.8316 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.212e-05/0.4961, allocations: 192 / 0.8316 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.017e-05/0.4961, allocations: 32.5 kB / 0.8316 GB, free: 480 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002493/0.4963, allocations: 33.84 kB / 0.8316 GB, free: 472 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.4965, allocations: 195.4 kB / 0.8318 GB, free: 256 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.4965, allocations: 2.547 kB / 0.8318 GB, free: 256 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.4965, allocations: 8.312 kB / 0.8318 GB, free: 252 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.4967, allocations: 70.03 kB / 0.8319 GB, free: 200 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.4967, allocations: 0 / 0.8319 GB, free: 200 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.4967, allocations: 2.688 kB / 0.8319 GB, free: 200 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.4967, allocations: 0.7031 kB / 0.8319 GB, free: 200 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.4968, allocations: 47.66 kB / 0.8319 GB, free: 184 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000415/0.4973, allocations: 309.8 kB / 0.8322 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.4974, allocations: 49.72 kB / 0.8323 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.002e-05/0.4975, allocations: 31.25 kB / 0.8323 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.4975, allocations: 2.656 kB / 0.8323 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.947e-05/0.4976, allocations: 30.56 kB / 0.8323 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.4976, allocations: 0 / 0.8323 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5): time 0.000358/0.4979, allocations: 108.4 kB / 0.8324 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.498, allocations: 52.97 kB / 0.8325 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.4982, allocations: 139.2 kB / 0.8326 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.4982, allocations: 36.3 kB / 0.8327 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.269e-05/0.4982, allocations: 96.84 kB / 0.8328 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.4983, allocations: 15.75 kB / 0.8328 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.285e-05/0.4983, allocations: 18.84 kB / 0.8328 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.4985, allocations: 324.7 kB / 0.8331 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.741e-05/0.4985, allocations: 22.22 kB / 0.8331 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.939e-05/0.4986, allocations: 29.25 kB / 0.8331 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.4987, allocations: 50.09 kB / 0.8332 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.4988, allocations: 0 / 0.8332 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002073/0.499, allocations: 87.67 kB / 0.8333 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.499, allocations: 6.359 kB / 0.8333 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.499, allocations: 0 / 0.8333 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.499, allocations: 6.219 kB / 0.8333 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.4991, allocations: 12.73 kB / 0.8333 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.4991, allocations: 4.891 kB / 0.8333 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.062e-05/0.4992, allocations: 9.25 kB / 0.8333 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.4992, allocations: 3.234 kB / 0.8333 GB, free: 14.98 MB / 0.5919 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 8.939e-05/0.4993, allocations: 122.9 kB / 0.8334 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.127e-05/0.4993, allocations: 6.859 kB / 0.8334 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002547/0.4996, allocations: 94.77 kB / 0.8335 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.4996, allocations: 7.938 kB / 0.8335 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.4996, allocations: 2.781 kB / 0.8335 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.4996, allocations: 0.8125 kB / 0.8335 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002414/0.4998, allocations: 195.8 kB / 0.8337 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.4998, allocations: 0 / 0.8337 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.165e-05/0.4999, allocations: 15.55 kB / 0.8337 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.4999, allocations: 0 / 0.8337 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.4999, allocations: 4.797 kB / 0.8338 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.4999, allocations: 1.094 kB / 0.8338 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4999, allocations: 0 / 0.8338 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.5002, allocations: 195.6 kB / 0.8339 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.671e-05/0.5002, allocations: 85.7 kB / 0.834 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.5002, allocations: 0.6562 kB / 0.834 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.345e-05/0.5003, allocations: 8.641 kB / 0.834 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.5004, allocations: 9.484 kB / 0.834 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-06/0.5004, allocations: 2.594 kB / 0.834 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 7.292e-05/0.5004, allocations: 113 kB / 0.8341 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.5004, allocations: 0 / 0.8341 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002366/0.5007, allocations: 23.69 kB / 0.8342 GB, free: 14.21 MB / 0.5919 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.0007095/0.5014, allocations: 0.7286 MB / 0.8349 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002056/0.5016, allocations: 62.7 kB / 0.8349 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.5016, allocations: 0 / 0.8349 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 8.146e-05/0.5017, allocations: 27.34 kB / 0.835 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.5019, allocations: 10.73 kB / 0.835 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/0.5036, allocations: 1.478 MB / 0.8364 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.504, allocations: 0.6902 MB / 0.8371 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.047e-05/0.504, allocations: 5.234 kB / 0.8371 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.498e-05/0.5041, allocations: 25.8 kB / 0.8371 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of SimCode: time 3e-07/0.5041, allocations: 4 kB / 0.8371 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02056/0.5246, allocations: 2.453 MB / 0.8395 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.878/8.403, allocations: 6.062 kB / 0.8395 GB, free: 11.07 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.135090044990648] Failed to read output from testmodel.py, exit status != 0: 8.526367203041445 8.549907004 8.05142922 Calling exit ...