Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.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.000807/0.000807, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008964/0.0008964, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.8758/0.8758, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7086/0.7086, allocations: 154.6 MB / 413.8 MB, free: 0.7969 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss,fileNamePrefix="IDEAS_IDEAS_Fluid_PVTCollectors_BaseClasses_Examples_ISO9806HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss,fileNamePrefix="IDEAS_IDEAS_Fluid_PVTCollectors_BaseClasses_Examples_ISO9806HeatLoss",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.435e-06/2.435e-06, allocations: 0 / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.953e-05/3.196e-05, allocations: 5.125 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss): time 0.003104/0.003136, allocations: 2.214 MB / 0.6203 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.004215/0.007351, allocations: 4.563 MB / 0.6247 GB, free: 6.891 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.007474, allocations: 3.938 kB / 0.6247 GB, free: 6.887 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0007929/0.008267, allocations: 235.9 kB / 0.6249 GB, free: 6.656 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002132/0.00848, allocations: 147 kB / 0.6251 GB, free: 6.512 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001157/0.008596, allocations: 71.83 kB / 0.6252 GB, free: 6.441 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0004953/0.009091, allocations: 414.4 kB / 0.6255 GB, free: 6.035 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.009256, allocations: 73.91 kB / 0.6256 GB, free: 5.961 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002281/0.009484, allocations: 199.5 kB / 0.6258 GB, free: 5.766 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.00964, allocations: 123.6 kB / 0.6259 GB, free: 5.645 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.743e-05/0.009667, allocations: 16 kB / 0.6259 GB, free: 5.629 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.951e-05/0.009747, allocations: 43.91 kB / 0.626 GB, free: 5.586 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 8.95e-05/0.009836, allocations: 95.67 kB / 0.6261 GB, free: 5.492 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 7.959e-05/0.009916, allocations: 91.7 kB / 0.6262 GB, free: 5.402 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002997/0.01022, allocations: 330.7 kB / 0.6265 GB, free: 5.078 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.01022, allocations: 4 kB / 0.6265 GB, free: 5.074 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.643e-06/0.01022, allocations: 0 / 0.6265 GB, free: 5.074 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.01023, allocations: 0 / 0.6265 GB, free: 5.074 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0009238/0.01115, allocations: 0.617 MB / 0.6271 GB, free: 4.426 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.0112, allocations: 12.03 kB / 0.6271 GB, free: 4.414 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001091/0.01131, allocations: 54.69 kB / 0.6271 GB, free: 4.352 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003597/0.01167, allocations: 91.59 kB / 0.6272 GB, free: 4.262 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005709/0.01224, allocations: 283.3 kB / 0.6275 GB, free: 3.961 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.01226, allocations: 11.86 kB / 0.6275 GB, free: 3.949 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.626e-05/0.0123, allocations: 16 kB / 0.6275 GB, free: 3.934 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004315/0.01273, allocations: 296.4 kB / 0.6278 GB, free: 3.641 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.01274, allocations: 3.938 kB / 0.6278 GB, free: 3.637 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.01276, allocations: 4 kB / 0.6278 GB, free: 3.633 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.113e-05/0.01279, allocations: 32.42 kB / 0.6279 GB, free: 3.602 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004515/0.01324, allocations: 309.7 kB / 0.6281 GB, free: 3.297 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009445/0.01419, allocations: 0.7007 MB / 0.6288 GB, free: 2.555 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004137/0.0146, allocations: 282.4 kB / 0.6291 GB, free: 2.27 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002344/0.01484, allocations: 176.6 kB / 0.6293 GB, free: 2.094 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.01486, allocations: 4 kB / 0.6293 GB, free: 2.09 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.01488, allocations: 34.97 kB / 0.6293 GB, free: 2.047 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=23): time 1.754e-06/0.01488, allocations: 0 / 0.6293 GB, free: 2.047 MB / 0.5886 GB Notification: Performance of matching and sorting (n=23): time 0.0008146/0.0157, allocations: 0.4927 MB / 0.6298 GB, free: 1.551 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.01573, allocations: 51.41 kB / 0.6298 GB, free: 1.488 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000207/0.01594, allocations: 325.7 kB / 0.6301 GB, free: 1.164 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.01596, allocations: 29.7 kB / 0.6302 GB, free: 1.129 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.391e-05/0.01606, allocations: 192.4 kB / 0.6304 GB, free: 0.9375 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.764e-05/0.0161, allocations: 87.31 kB / 0.6304 GB, free: 0.8516 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.706e-05/0.01617, allocations: 49.62 kB / 0.6305 GB, free: 0.7969 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.089e-05/0.01626, allocations: 338.8 kB / 0.6308 GB, free: 468 kB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/0.01646, allocations: 131.9 kB / 0.6309 GB, free: 336 kB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/0.01668, allocations: 166 kB / 0.6311 GB, free: 164 kB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005557/0.01723, allocations: 306.3 kB / 0.6314 GB, free: 15.85 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.01723, allocations: 0 / 0.6314 GB, free: 15.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004798/0.01771, allocations: 380.5 kB / 0.6318 GB, free: 15.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.01773, allocations: 4 kB / 0.6318 GB, free: 15.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.01773, allocations: 4 kB / 0.6318 GB, free: 15.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.01775, allocations: 0 / 0.6318 GB, free: 15.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001948/0.01794, allocations: 63.88 kB / 0.6318 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/0.01795, allocations: 0 / 0.6318 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.01806, allocations: 39.88 kB / 0.6319 GB, free: 15.37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.01808, allocations: 8 kB / 0.6319 GB, free: 15.36 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (25): * Single equations (assignments): 25 * 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 0.0001146/0.01819, allocations: 162.7 kB / 0.632 GB, free: 15.19 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.508e-05/0.01823, allocations: 35.75 kB / 0.6321 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.033e-05/0.01828, allocations: 47.41 kB / 0.6321 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.01828, allocations: 4 kB / 0.6321 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.01828, allocations: 0 / 0.6321 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.01829, allocations: 0 / 0.6321 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008866/0.01917, allocations: 0.802 MB / 0.6329 GB, free: 14.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01917, allocations: 0 / 0.6329 GB, free: 14.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/0.01932, allocations: 63.89 kB / 0.6329 GB, free: 14.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.01933, allocations: 7.922 kB / 0.633 GB, free: 14.18 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.01934, allocations: 7.922 kB / 0.633 GB, free: 14.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.01934, allocations: 4 kB / 0.633 GB, free: 14.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.01934, allocations: 0 / 0.633 GB, free: 14.17 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004965/0.01984, allocations: 474.7 kB / 0.6334 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.629e-05/0.01992, allocations: 63.66 kB / 0.6335 GB, free: 13.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/0.01994, allocations: 4 kB / 0.6335 GB, free: 13.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.02006, allocations: 23.97 kB / 0.6335 GB, free: 13.61 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.166e-05/0.02011, allocations: 11.97 kB / 0.6335 GB, free: 13.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.02012, allocations: 15.98 kB / 0.6335 GB, free: 13.58 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001363/0.02026, allocations: 227.2 kB / 0.6337 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.02026, allocations: 4 kB / 0.6338 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000228/0.02049, allocations: 79.83 kB / 0.6338 GB, free: 13.27 MB / 0.6042 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 (23): * Single equations (assignments): 23 * 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.001272/0.02176, allocations: 1.204 MB / 0.635 GB, free: 12.04 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004704/0.02223, allocations: 311.2 kB / 0.6353 GB, free: 11.74 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.02223, allocations: 0 / 0.6353 GB, free: 11.74 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00021/0.02244, allocations: 159.8 kB / 0.6355 GB, free: 11.59 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.02279, allocations: 87.42 kB / 0.6355 GB, free: 11.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003043/0.02584, allocations: 3.409 MB / 0.6389 GB, free: 7.992 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.02596, allocations: 187.8 kB / 0.639 GB, free: 7.789 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002018/0.02616, allocations: 102.2 kB / 0.6391 GB, free: 7.691 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/0.02629, allocations: 108.5 kB / 0.6392 GB, free: 7.586 MB / 0.6042 GB Notification: Performance of SimCode: time 1.173e-06/0.02629, allocations: 0 / 0.6392 GB, free: 7.586 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0238/0.05009, allocations: 8.846 MB / 0.6479 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.738/6.788, allocations: 15.2 kB / 0.6479 GB, free: 15 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.pipe ; mkfifo IDEAS_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.pipe >> ../files/IDEAS_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_PVTCollectors_BaseClasses_Examples_ISO9806HeatLoss_fmu --startTime=0 --stopTime=86400 --stepSize=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_PVTCollectors_BaseClasses_Examples_ISO9806HeatLoss.fmu > IDEAS_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.45998330693692] Failed to read output from testmodel.py, exit status != 0: 6.870050883851945 6.879656971 6.867618149 Calling exit ...