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.0008932/0.0008932, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001138/0.001138, allocations: 209.2 kB / 22.24 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.9011/0.9011, allocations: 230.6 MB / 256 MB, free: 9.59 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.7521/0.7521, 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.0008546/0.0008546, allocations: 70.11 kB / 0.7182 GB, free: 4.02 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.467/0.4679, allocations: 102 MB / 0.8178 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.001913/0.4698, allocations: 1.597 MB / 0.8194 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001183/0.4709, allocations: 0.9307 MB / 0.8203 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.17e-05/0.471, allocations: 1.219 kB / 0.8203 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.17e-05/0.471, allocations: 9.188 kB / 0.8203 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001874/0.4712, allocations: 23.17 kB / 0.8203 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002876/0.4715, allocations: 160.5 kB / 0.8205 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.4717, allocations: 83.7 kB / 0.8205 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.343e-05/0.4717, allocations: 7.984 kB / 0.8205 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.4719, allocations: 40.72 kB / 0.8206 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.762e-05/0.4719, allocations: 36.77 kB / 0.8206 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.4719, allocations: 4 kB / 0.8206 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003124/0.4723, allocations: 275.1 kB / 0.8209 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.053e-05/0.4723, allocations: 10.75 kB / 0.8209 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.306e-05/0.4723, allocations: 23.55 kB / 0.8209 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.4725, allocations: 160.8 kB / 0.8211 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.4725, allocations: 4 kB / 0.8211 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.204e-06/0.4726, allocations: 0 / 0.8211 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.4726, allocations: 0 / 0.8211 GB, free: 15.05 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.0004598/0.473, allocations: 349.2 kB / 0.8214 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.4731, allocations: 8.281 kB / 0.8214 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.006e-05/0.4731, allocations: 30.75 kB / 0.8214 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001592/0.4732, allocations: 32.14 kB / 0.8215 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.4734, allocations: 137.6 kB / 0.8216 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.4734, allocations: 2.688 kB / 0.8216 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.4734, allocations: 8.719 kB / 0.8216 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.4736, allocations: 63.06 kB / 0.8217 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.4736, allocations: 0 / 0.8217 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.4736, allocations: 0.6562 kB / 0.8217 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.4736, allocations: 0 / 0.8217 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.683e-05/0.4737, allocations: 40.7 kB / 0.8217 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003276/0.474, allocations: 273.2 kB / 0.822 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.4741, allocations: 52.86 kB / 0.822 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.099e-05/0.4742, allocations: 29.53 kB / 0.8221 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.4742, allocations: 1.344 kB / 0.8221 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.4742, allocations: 36.69 kB / 0.8221 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 7.11e-07/0.4742, allocations: 0 / 0.8221 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0002552/0.4745, allocations: 113.3 kB / 0.8222 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/0.4745, allocations: 52.44 kB / 0.8222 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.539e-05/0.4746, allocations: 139.9 kB / 0.8224 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.4746, allocations: 25.7 kB / 0.8224 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.387e-05/0.4746, allocations: 94.14 kB / 0.8225 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.383e-05/0.4746, allocations: 15.66 kB / 0.8225 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-05/0.4747, allocations: 23.92 kB / 0.8225 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.272e-05/0.4747, allocations: 325.1 kB / 0.8228 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.782e-05/0.4748, allocations: 25.11 kB / 0.8229 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.208e-05/0.4748, allocations: 21.02 kB / 0.8229 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.466e-05/0.4749, allocations: 53.58 kB / 0.8229 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4749, allocations: 0 / 0.8229 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001278/0.4751, allocations: 97.83 kB / 0.823 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.4751, allocations: 5.562 kB / 0.823 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.4751, allocations: 7.031 kB / 0.823 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.4751, allocations: 1.062 kB / 0.823 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.308e-05/0.4752, allocations: 17.55 kB / 0.8231 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.4752, allocations: 3.938 kB / 0.8231 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.081e-05/0.4752, allocations: 11.03 kB / 0.8231 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.4752, allocations: 1.062 kB / 0.8231 GB, free: 13.31 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 6.152e-05/0.4753, allocations: 116.9 kB / 0.8232 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.247e-05/0.4753, allocations: 8.109 kB / 0.8232 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001682/0.4754, allocations: 106 kB / 0.8233 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.4755, allocations: 5.156 kB / 0.8233 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.4755, allocations: 0 / 0.8233 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.4755, allocations: 0 / 0.8233 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.4756, allocations: 155.3 kB / 0.8234 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.4756, allocations: 0 / 0.8234 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.09e-05/0.4756, allocations: 13.44 kB / 0.8235 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.4756, allocations: 1.406 kB / 0.8235 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.4756, allocations: 0 / 0.8235 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4756, allocations: 1.375 kB / 0.8235 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.01e-07/0.4756, allocations: 0 / 0.8235 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001635/0.4758, allocations: 197.2 kB / 0.8237 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.988e-06/0.4758, allocations: 7.922 kB / 0.8237 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.4758, allocations: 1.375 kB / 0.8237 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.251e-05/0.4759, allocations: 4.953 kB / 0.8237 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/0.4759, allocations: 4.562 kB / 0.8237 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.4759, allocations: 11.31 kB / 0.8237 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.019e-05/0.476, allocations: 99.78 kB / 0.8238 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.476, allocations: 0 / 0.8238 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001732/0.4761, allocations: 30.83 kB / 0.8238 GB, free: 12.68 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.0004146/0.4766, allocations: 0.7283 MB / 0.8245 GB, free: 12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001533/0.4767, allocations: 57.97 kB / 0.8246 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4767, allocations: 0 / 0.8246 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.961e-05/0.4768, allocations: 26.55 kB / 0.8246 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/0.477, allocations: 11.8 kB / 0.8246 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.4781, allocations: 1.484 MB / 0.8261 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.277e-05/0.4782, allocations: 75.3 kB / 0.8261 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.584e-05/0.4782, allocations: 10.2 kB / 0.8261 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.653e-05/0.4782, allocations: 26.33 kB / 0.8262 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of SimCode: time 5.21e-07/0.4782, allocations: 3.938 kB / 0.8262 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01517/0.4934, allocations: 2.936 MB / 0.829 GB, free: 9.668 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.791/7.285, allocations: 11.44 kB / 0.829 GB, free: 9.66 MB / 0.6198 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=50 --tolerance=1e-06 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.006374225951731] Failed to read output from testmodel.py, exit status != 0: 7.3621143735945225 7.376624576 6.901924323 Calling exit ...