Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007713/0.0007713, 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.0008013/0.0008013, 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.8765/0.8765, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.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.7133/0.7133, allocations: 154.5 MB / 413.7 MB, free: 0.8281 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_PVTCollectors_BaseClasses_Examples_ISO9806HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_PVTCollectors_BaseClasses_Examples_ISO9806HeatLoss",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.618 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.195e-05/1.325e-05, allocations: 5.562 kB / 0.618 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss): time 0.002391/0.002404, allocations: 2.209 MB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003878/0.006282, allocations: 4.559 MB / 0.6247 GB, free: 6.898 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.006418, allocations: 7.938 kB / 0.6247 GB, free: 6.891 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0007627/0.007181, allocations: 235.9 kB / 0.6249 GB, free: 6.66 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002412/0.007422, allocations: 151 kB / 0.625 GB, free: 6.512 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001295/0.007551, allocations: 71.89 kB / 0.6251 GB, free: 6.441 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0004607/0.008012, allocations: 418.2 kB / 0.6255 GB, free: 6.031 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.008166, allocations: 65.97 kB / 0.6256 GB, free: 5.961 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002084/0.008374, allocations: 199.5 kB / 0.6258 GB, free: 5.766 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.008524, allocations: 123.6 kB / 0.6259 GB, free: 5.645 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.008549, allocations: 16 kB / 0.6259 GB, free: 5.629 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.885e-05/0.008628, allocations: 35.97 kB / 0.6259 GB, free: 5.594 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.166e-05/0.0087, allocations: 95.67 kB / 0.626 GB, free: 5.5 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 7.466e-05/0.008775, allocations: 99.7 kB / 0.6261 GB, free: 5.402 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002839/0.009058, allocations: 334.7 kB / 0.6264 GB, free: 5.074 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.00906, allocations: 8 kB / 0.6264 GB, free: 5.066 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.062e-06/0.009061, allocations: 0 / 0.6264 GB, free: 5.066 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.009066, allocations: 0 / 0.6264 GB, free: 5.066 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.0007923/0.009858, allocations: 0.6092 MB / 0.627 GB, free: 4.426 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.009895, allocations: 9.469 kB / 0.627 GB, free: 4.418 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.813e-05/0.009973, allocations: 58.67 kB / 0.6271 GB, free: 4.352 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006678/0.01064, allocations: 215.4 kB / 0.6273 GB, free: 4.141 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004261/0.01107, allocations: 291.2 kB / 0.6276 GB, free: 3.836 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.01108, allocations: 11.86 kB / 0.6276 GB, free: 3.824 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.827e-05/0.01111, allocations: 16 kB / 0.6276 GB, free: 3.809 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004389/0.01155, allocations: 316.4 kB / 0.6279 GB, free: 3.496 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.01156, allocations: 4 kB / 0.6279 GB, free: 3.492 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.01158, allocations: 8 kB / 0.6279 GB, free: 3.484 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.966e-05/0.01161, allocations: 24.48 kB / 0.6279 GB, free: 3.461 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004896/0.0121, allocations: 337.7 kB / 0.6283 GB, free: 3.129 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.01311, allocations: 0.7358 MB / 0.629 GB, free: 2.352 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004652/0.01358, allocations: 314.3 kB / 0.6293 GB, free: 2.035 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002551/0.01384, allocations: 188.7 kB / 0.6295 GB, free: 1.848 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.01386, allocations: 7.938 kB / 0.6295 GB, free: 1.84 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.01388, allocations: 38.55 kB / 0.6295 GB, free: 1.793 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=23): time 2.004e-06/0.01389, allocations: 0 / 0.6295 GB, free: 1.793 MB / 0.5886 GB Notification: Performance of matching and sorting (n=23): time 0.0009449/0.01483, allocations: 0.5282 MB / 0.63 GB, free: 1.262 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.01486, allocations: 55.27 kB / 0.6301 GB, free: 1.195 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002136/0.01508, allocations: 325.7 kB / 0.6304 GB, free: 0.8711 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.0151, allocations: 29.7 kB / 0.6304 GB, free: 0.8359 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.906e-05/0.0152, allocations: 192.4 kB / 0.6306 GB, free: 0.6445 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.079e-05/0.01525, allocations: 87.31 kB / 0.6307 GB, free: 0.5586 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.515e-05/0.01533, allocations: 53.69 kB / 0.6307 GB, free: 0.5 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.244e-05/0.01542, allocations: 338.8 kB / 0.6311 GB, free: 164 kB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002245/0.01564, allocations: 143.9 kB / 0.6312 GB, free: 20 kB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002518/0.0159, allocations: 189.8 kB / 0.6314 GB, free: 15.83 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004733/0.01637, allocations: 328 kB / 0.6317 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.01637, allocations: 3.938 kB / 0.6317 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005601/0.01693, allocations: 409 kB / 0.6321 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.01694, allocations: 8 kB / 0.6321 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.01695, allocations: 0 / 0.6321 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.01696, allocations: 4 kB / 0.6321 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/0.01719, allocations: 59.94 kB / 0.6321 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.0172, allocations: 0 / 0.6321 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.01734, allocations: 39.81 kB / 0.6322 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.01736, allocations: 7.984 kB / 0.6322 GB, free: 14.97 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.0001225/0.01749, allocations: 166.7 kB / 0.6324 GB, free: 14.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.089e-05/0.01753, allocations: 35.75 kB / 0.6324 GB, free: 14.77 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.21e-05/0.01758, allocations: 47.42 kB / 0.6324 GB, free: 14.72 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.01758, allocations: 0 / 0.6324 GB, free: 14.72 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.01758, allocations: 0 / 0.6324 GB, free: 14.72 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.01759, allocations: 0 / 0.6324 GB, free: 14.72 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009953/0.01858, allocations: 0.8599 MB / 0.6333 GB, free: 13.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.01859, allocations: 4 kB / 0.6333 GB, free: 13.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/0.01877, allocations: 59.88 kB / 0.6333 GB, free: 13.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.01877, allocations: 4 kB / 0.6333 GB, free: 13.74 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.01879, allocations: 8 kB / 0.6333 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.01879, allocations: 3.984 kB / 0.6333 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.01879, allocations: 4 kB / 0.6334 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006223/0.01941, allocations: 491.5 kB / 0.6338 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.588e-05/0.01951, allocations: 67.66 kB / 0.6339 GB, free: 13.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.112e-05/0.01954, allocations: 8 kB / 0.6339 GB, free: 13.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.0197, allocations: 19.91 kB / 0.6339 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.952e-05/0.01975, allocations: 19.97 kB / 0.6339 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.01977, allocations: 7.984 kB / 0.6339 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001668/0.01993, allocations: 235.1 kB / 0.6342 GB, free: 12.88 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.01993, allocations: 0 / 0.6342 GB, free: 12.88 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002258/0.02016, allocations: 87.77 kB / 0.6342 GB, free: 12.8 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.00109/0.02125, allocations: 1.254 MB / 0.6355 GB, free: 11.52 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005109/0.02176, allocations: 335.7 kB / 0.6358 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.02176, allocations: 0 / 0.6358 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002394/0.022, allocations: 175.8 kB / 0.636 GB, free: 11.02 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.02233, allocations: 84.88 kB / 0.636 GB, free: 10.94 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003183/0.02552, allocations: 3.499 MB / 0.6395 GB, free: 7.34 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001142/0.02563, allocations: 195.7 kB / 0.6396 GB, free: 7.125 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002419/0.02587, allocations: 126.2 kB / 0.6398 GB, free: 7.004 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.02603, allocations: 112.5 kB / 0.6399 GB, free: 6.895 MB / 0.6042 GB Notification: Performance of SimCode: time 6.32e-07/0.02603, allocations: 0 / 0.6399 GB, free: 6.895 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02081/0.04684, allocations: 9.178 MB / 0.6488 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.052/7.099, allocations: 10 kB / 0.6488 GB, free: 13.98 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_PVTCollectors_BaseClasses_Examples_ISO9806HeatLoss_fmu --startTime=0 --stopTime=86400 --stepSize=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_PVTCollectors_BaseClasses_Examples_ISO9806HeatLoss.fmu > IDEAS_dev_IDEAS.Fluid.PVTCollectors.BaseClasses.Examples.ISO9806HeatLoss.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.80802134051919] Failed to read output from testmodel.py, exit status != 0: 7.181543107144535 7.193935325 7.18317679 Calling exit ...