Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.0009355/0.0009355, allocations: 100.4 kB / 19.7 MB, free: 452 kB / 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.00106/0.00106, allocations: 212.1 kB / 23 MB, free: 2.98 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.9402/0.9402, allocations: 230.6 MB / 256.8 MB, free: 9.621 MB / 202.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.7304/0.7304, allocations: 203.5 MB / 0.5046 GB, free: 10.72 MB / 410.7 MB " [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: translateModel(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") [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.000944/0.000944, allocations: 65.3 kB / 0.719 GB, free: 3.898 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5122/0.5131, allocations: 102 MB / 0.8186 GB, free: 1.508 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002372/0.5155, allocations: 2.085 MB / 0.8206 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00382/0.5193, allocations: 3.938 MB / 0.8245 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.434e-05/0.5194, allocations: 6.75 kB / 0.8245 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006988/0.5201, allocations: 174.6 kB / 0.8247 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.5202, allocations: 79.53 kB / 0.8247 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005391/0.5208, allocations: 339.4 kB / 0.8251 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000553/0.5213, allocations: 453.6 kB / 0.8255 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.5215, allocations: 32.14 kB / 0.8255 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.5216, allocations: 141.7 kB / 0.8257 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001945/0.5218, allocations: 151.5 kB / 0.8258 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.467e-05/0.5219, allocations: 20.62 kB / 0.8258 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004799/0.5223, allocations: 329 kB / 0.8261 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001425/0.5225, allocations: 114.7 kB / 0.8263 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001394/0.5226, allocations: 139.6 kB / 0.8264 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006599/0.5233, allocations: 0.5924 MB / 0.827 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.5233, allocations: 0 / 0.827 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.953e-06/0.5233, allocations: 0.6094 kB / 0.827 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.196e-06/0.5233, allocations: 5.688 kB / 0.827 GB, free: 12.4 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001078/0.5244, allocations: 0.7404 MB / 0.8277 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.5244, allocations: 13.73 kB / 0.8277 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007949/0.5252, allocations: 238.5 kB / 0.8279 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006242/0.5258, allocations: 348.9 kB / 0.8283 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.5258, allocations: 12.89 kB / 0.8283 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.5259, allocations: 11.53 kB / 0.8283 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004798/0.5263, allocations: 249.9 kB / 0.8285 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.5264, allocations: 0.5625 kB / 0.8285 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.5264, allocations: 5.094 kB / 0.8285 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.5264, allocations: 2.281 kB / 0.8285 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006279/0.527, allocations: 337.7 kB / 0.8289 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.5281, allocations: 0.5797 MB / 0.8294 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003894/0.5285, allocations: 213.2 kB / 0.8296 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003169/0.5288, allocations: 175.1 kB / 0.8298 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.122e-05/0.5289, allocations: 16.17 kB / 0.8298 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.5289, allocations: 36.19 kB / 0.8298 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.5289, allocations: 0 / 0.8298 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.001253/0.5301, allocations: 0.5706 MB / 0.8304 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.5302, allocations: 53.06 kB / 0.8304 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004766/0.5306, allocations: 452.8 kB / 0.8309 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.5307, allocations: 30.89 kB / 0.8309 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.5308, allocations: 191.8 kB / 0.8311 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.04e-05/0.5308, allocations: 57.12 kB / 0.8311 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.489e-05/0.5309, allocations: 55.19 kB / 0.8312 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.5311, allocations: 354.4 kB / 0.8315 GB, free: 9.891 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004862/0.5315, allocations: 334.6 kB / 0.8319 GB, free: 9.789 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004426/0.532, allocations: 344.5 kB / 0.8322 GB, free: 9.68 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007617/0.5327, allocations: 0.5199 MB / 0.8327 GB, free: 9.512 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5328, allocations: 0 / 0.8327 GB, free: 9.512 MB / 0.6198 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001013/0.5338, allocations: 0.7709 MB / 0.8334 GB, free: 9.234 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.754e-05/0.5338, allocations: 45.72 kB / 0.8335 GB, free: 9.199 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.5338, allocations: 0 / 0.8335 GB, free: 9.199 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.5338, allocations: 1.875 kB / 0.8335 GB, free: 9.199 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002498/0.5341, allocations: 64.3 kB / 0.8336 GB, free: 9.199 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-06/0.5341, allocations: 5.172 kB / 0.8336 GB, free: 9.195 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.5343, allocations: 53.45 kB / 0.8336 GB, free: 9.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-05/0.5343, allocations: 8.547 kB / 0.8336 GB, free: 9.18 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001351/0.5344, allocations: 163.5 kB / 0.8338 GB, free: 9.043 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.17e-05/0.5345, allocations: 40.36 kB / 0.8338 GB, free: 9.02 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007896/0.5353, allocations: 437.1 kB / 0.8342 GB, free: 8.887 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.5353, allocations: 2.875 kB / 0.8342 GB, free: 8.887 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.5353, allocations: 0 / 0.8342 GB, free: 8.887 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.5353, allocations: 0.6562 kB / 0.8342 GB, free: 8.887 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000294/0.5356, allocations: 292.4 kB / 0.8345 GB, free: 8.691 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.5356, allocations: 0.6094 kB / 0.8345 GB, free: 8.691 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001943/0.5358, allocations: 66 kB / 0.8346 GB, free: 8.684 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.5358, allocations: 0.9688 kB / 0.8346 GB, free: 8.684 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.5358, allocations: 4.984 kB / 0.8346 GB, free: 8.684 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.5358, allocations: 0 / 0.8346 GB, free: 8.684 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5358, allocations: 1.906 kB / 0.8346 GB, free: 8.684 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007209/0.5365, allocations: 0.502 MB / 0.8351 GB, free: 8.449 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.315e-05/0.5366, allocations: 61.67 kB / 0.8351 GB, free: 8.414 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.112e-05/0.5366, allocations: 5.891 kB / 0.8351 GB, free: 8.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.5368, allocations: 37.53 kB / 0.8352 GB, free: 8.406 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.377e-05/0.5369, allocations: 20.67 kB / 0.8352 GB, free: 8.398 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.5369, allocations: 5.938 kB / 0.8352 GB, free: 8.398 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002613/0.5371, allocations: 315.5 kB / 0.8355 GB, free: 8.254 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5371, allocations: 0 / 0.8355 GB, free: 8.254 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004162/0.5376, allocations: 135.6 kB / 0.8356 GB, free: 8.23 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 (13): * Single equations (assignments): 13 * 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.0002584/0.5378, allocations: 168.4 kB / 0.8358 GB, free: 8.125 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009148/0.5387, allocations: 0.6333 MB / 0.8364 GB, free: 7.895 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.5387, allocations: 1.125 kB / 0.8364 GB, free: 7.895 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003277/0.5391, allocations: 181.7 kB / 0.8366 GB, free: 7.855 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.5394, allocations: 64.92 kB / 0.8366 GB, free: 7.832 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009854/0.5404, allocations: 0.7485 MB / 0.8374 GB, free: 7.414 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001635/0.5406, allocations: 194.5 kB / 0.8376 GB, free: 7.328 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.5407, allocations: 31 kB / 0.8376 GB, free: 7.32 MB / 0.6198 GB Notification: Performance of SimCode: time 6.41e-07/0.5407, allocations: 0 / 0.8376 GB, free: 7.32 MB / 0.6198 GB Notification: Performance of Templates: time 0.005934/0.5466, allocations: 5.804 MB / 0.8433 GB, free: 4.387 MB / 0.6198 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.569301882758737] Failed to read output from testmodel.py, exit status != 0: 0.5530631258152425 0.563006887 0.037518083 Calling exit ...