Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.0007815/0.0007815, allocations: 105.5 kB / 18.95 MB, free: 1.188 MB / 13.93 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.0008835/0.0008835, allocations: 208.1 kB / 22.25 MB, free: 3.59 MB / 13.93 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 0.8963/0.8963, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7263/0.7263, allocations: 203.8 MB / 0.5042 GB, free: 10.43 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.0008947/0.0008947, allocations: 65.91 kB / 0.7182 GB, free: 4.008 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.493/0.4939, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.001902/0.4958, allocations: 1.592 MB / 0.8194 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001089/0.4969, allocations: 0.926 MB / 0.8203 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.442e-05/0.4969, allocations: 0.8125 kB / 0.8203 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.043e-05/0.4969, allocations: 9.656 kB / 0.8203 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001971/0.4971, allocations: 22.48 kB / 0.8203 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003165/0.4975, allocations: 160.6 kB / 0.8204 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.4976, allocations: 80.42 kB / 0.8205 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.074e-05/0.4977, allocations: 8.016 kB / 0.8205 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.4978, allocations: 50.5 kB / 0.8206 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.535e-05/0.4979, allocations: 32.08 kB / 0.8206 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.4979, allocations: 3.812 kB / 0.8206 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003167/0.4982, allocations: 276.1 kB / 0.8209 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.861e-05/0.4982, allocations: 14.78 kB / 0.8209 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.973e-05/0.4983, allocations: 24.47 kB / 0.8209 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002191/0.4985, allocations: 154.7 kB / 0.8211 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.4985, allocations: 0 / 0.8211 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4985, allocations: 0 / 0.8211 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.4985, allocations: 0 / 0.8211 GB, free: 15.04 MB / 0.6198 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.0004366/0.4989, allocations: 345.8 kB / 0.8214 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.499, allocations: 10.06 kB / 0.8214 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.134e-05/0.499, allocations: 36.44 kB / 0.8214 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001748/0.4992, allocations: 29.59 kB / 0.8215 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.4993, allocations: 140.3 kB / 0.8216 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.4994, allocations: 10.25 kB / 0.8216 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-06/0.4994, allocations: 2.594 kB / 0.8216 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.4995, allocations: 65.14 kB / 0.8217 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.4995, allocations: 0 / 0.8217 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-06/0.4995, allocations: 4 kB / 0.8217 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.4995, allocations: 2.156 kB / 0.8217 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.373e-05/0.4996, allocations: 42.36 kB / 0.8217 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00031/0.4999, allocations: 266.6 kB / 0.822 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.608e-05/0.5, allocations: 53.27 kB / 0.822 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.869e-05/0.5001, allocations: 31.2 kB / 0.8221 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.5001, allocations: 7.719 kB / 0.8221 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.5001, allocations: 30.56 kB / 0.8221 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 8.22e-07/0.5001, allocations: 0 / 0.8221 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0002423/0.5003, allocations: 105.8 kB / 0.8222 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.5004, allocations: 55.47 kB / 0.8222 GB, free: 14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.429e-05/0.5005, allocations: 136.3 kB / 0.8224 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.5005, allocations: 25.7 kB / 0.8224 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.558e-05/0.5005, allocations: 96.55 kB / 0.8225 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.518e-05/0.5005, allocations: 17.83 kB / 0.8225 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.249e-05/0.5006, allocations: 25.59 kB / 0.8225 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.905e-05/0.5006, allocations: 323.6 kB / 0.8228 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.103e-05/0.5007, allocations: 20.5 kB / 0.8229 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.001e-05/0.5007, allocations: 22.08 kB / 0.8229 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.556e-05/0.5008, allocations: 55.94 kB / 0.8229 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5008, allocations: 0 / 0.8229 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001343/0.501, allocations: 99.48 kB / 0.823 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.501, allocations: 5.344 kB / 0.823 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.501, allocations: 5.531 kB / 0.823 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.501, allocations: 3.984 kB / 0.823 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.7e-05/0.5011, allocations: 14.39 kB / 0.8231 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.5011, allocations: 2.203 kB / 0.8231 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.084e-05/0.5011, allocations: 8.375 kB / 0.8231 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.5011, allocations: 1.906 kB / 0.8231 GB, free: 13.3 MB / 0.6198 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 5.681e-05/0.5012, allocations: 118.6 kB / 0.8232 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.156e-05/0.5012, allocations: 11.02 kB / 0.8232 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001651/0.5014, allocations: 103.5 kB / 0.8233 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.5014, allocations: 2.031 kB / 0.8233 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.5014, allocations: 4 kB / 0.8233 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.5014, allocations: 1.922 kB / 0.8233 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.5015, allocations: 150.9 kB / 0.8234 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.5015, allocations: 0 / 0.8234 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.227e-05/0.5015, allocations: 14.14 kB / 0.8235 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.5015, allocations: 3.938 kB / 0.8235 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.5015, allocations: 5.875 kB / 0.8235 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.5015, allocations: 1.125 kB / 0.8235 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5015, allocations: 1.172 kB / 0.8235 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001531/0.5017, allocations: 192 kB / 0.8237 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.818e-06/0.5017, allocations: 7.391 kB / 0.8237 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.5017, allocations: 1.188 kB / 0.8237 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.143e-05/0.5018, allocations: 5.344 kB / 0.8237 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.5018, allocations: 8.688 kB / 0.8237 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.5018, allocations: 2.75 kB / 0.8237 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.704e-05/0.5018, allocations: 109.3 kB / 0.8238 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5018, allocations: 0 / 0.8238 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001702/0.502, allocations: 27.36 kB / 0.8238 GB, free: 12.67 MB / 0.6198 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.0003667/0.5024, allocations: 0.7249 MB / 0.8245 GB, free: 12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001355/0.5025, allocations: 56.94 kB / 0.8246 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.5025, allocations: 0 / 0.8246 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.657e-05/0.5026, allocations: 30.84 kB / 0.8246 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001979/0.5028, allocations: 11.5 kB / 0.8246 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.504, allocations: 1.484 MB / 0.8261 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.904e-05/0.504, allocations: 77.47 kB / 0.8261 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.536e-05/0.5041, allocations: 6.312 kB / 0.8261 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.414e-05/0.5041, allocations: 25.88 kB / 0.8262 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of SimCode: time 3.1e-07/0.5041, allocations: 0 / 0.8262 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01591/0.52, allocations: 2.939 MB / 0.829 GB, free: 9.648 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.067/7.587, allocations: 14.08 kB / 0.829 GB, free: 9.645 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.408494242001325] Failed to read output from testmodel.py, exit status != 0: 7.663795344065875 7.677094641 7.175411952 Calling exit ...