Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.0008294/0.0008294, allocations: 100.4 kB / 19.71 MB, free: 444 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.0008493/0.0008493, allocations: 210.4 kB / 23 MB, free: 2.973 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.9546/0.9546, allocations: 230.6 MB / 256.8 MB, free: 9.602 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.777/0.777, allocations: 203.5 MB / 0.5046 GB, free: 10.7 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.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") [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.00111/0.00111, allocations: 67.56 kB / 0.719 GB, free: 3.926 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5072/0.5084, allocations: 102 MB / 0.8186 GB, free: 1.512 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002404/0.5108, allocations: 1.984 MB / 0.8205 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00429/0.515, allocations: 3.914 MB / 0.8244 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.5152, allocations: 6.844 kB / 0.8244 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000927/0.5161, allocations: 178 kB / 0.8245 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001286/0.5162, allocations: 67.23 kB / 0.8246 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008441/0.5171, allocations: 313.7 kB / 0.8249 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000655/0.5177, allocations: 395.5 kB / 0.8253 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.5179, allocations: 33.66 kB / 0.8253 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001615/0.518, allocations: 111.1 kB / 0.8254 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.5182, allocations: 125.6 kB / 0.8255 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.903e-05/0.5182, allocations: 16.97 kB / 0.8256 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00058/0.5188, allocations: 312 kB / 0.8259 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.5189, allocations: 106 kB / 0.826 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.5191, allocations: 124.1 kB / 0.8261 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007093/0.5198, allocations: 0.521 MB / 0.8266 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.5198, allocations: 4 kB / 0.8266 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.154e-06/0.5198, allocations: 0 / 0.8266 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.148e-06/0.5198, allocations: 4.594 kB / 0.8266 GB, free: 12.61 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001018/0.5208, allocations: 0.6979 MB / 0.8273 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.5208, allocations: 8.812 kB / 0.8273 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002853/0.5211, allocations: 85.44 kB / 0.8274 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004956/0.5216, allocations: 300.2 kB / 0.8277 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.5216, allocations: 5.781 kB / 0.8277 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.5217, allocations: 6.344 kB / 0.8277 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003852/0.522, allocations: 199 kB / 0.8279 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.5221, allocations: 1.719 kB / 0.8279 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.5221, allocations: 4 kB / 0.8279 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.5221, allocations: 2.281 kB / 0.8279 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004625/0.5225, allocations: 242 kB / 0.8281 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008017/0.5233, allocations: 0.5094 MB / 0.8286 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003296/0.5237, allocations: 167 kB / 0.8287 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000229/0.5239, allocations: 131.8 kB / 0.8289 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.802e-05/0.524, allocations: 19.91 kB / 0.8289 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.524, allocations: 32.03 kB / 0.8289 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.524, allocations: 0.8438 kB / 0.8289 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0008441/0.5248, allocations: 443.8 kB / 0.8293 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.5249, allocations: 57.42 kB / 0.8294 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004048/0.5253, allocations: 420.5 kB / 0.8298 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.5253, allocations: 29.7 kB / 0.8298 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.5254, allocations: 185.7 kB / 0.83 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.688e-05/0.5254, allocations: 36 kB / 0.83 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.826e-05/0.5255, allocations: 43.23 kB / 0.8301 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.5256, allocations: 349.1 kB / 0.8304 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003786/0.526, allocations: 212.9 kB / 0.8306 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003773/0.5264, allocations: 215.3 kB / 0.8308 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006046/0.527, allocations: 357.7 kB / 0.8312 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.527, allocations: 4.953 kB / 0.8312 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000683/0.5277, allocations: 0.5102 MB / 0.8317 GB, free: 9.852 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.808e-05/0.5277, allocations: 45.17 kB / 0.8317 GB, free: 9.816 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.5277, allocations: 1.188 kB / 0.8317 GB, free: 9.816 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.5277, allocations: 0.5625 kB / 0.8317 GB, free: 9.816 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/0.5279, allocations: 51.19 kB / 0.8318 GB, free: 9.809 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.5279, allocations: 1.906 kB / 0.8318 GB, free: 9.809 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.5281, allocations: 38.72 kB / 0.8318 GB, free: 9.797 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.004e-05/0.5281, allocations: 18.67 kB / 0.8318 GB, free: 9.785 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 (12): * Single equations (assignments): 11 * 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.0001551/0.5283, allocations: 150 kB / 0.832 GB, free: 9.66 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.339e-05/0.5283, allocations: 36.22 kB / 0.832 GB, free: 9.641 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006133/0.5289, allocations: 344.2 kB / 0.8323 GB, free: 9.531 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.5289, allocations: 5.703 kB / 0.8323 GB, free: 9.527 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.5289, allocations: 3.938 kB / 0.8323 GB, free: 9.523 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.5289, allocations: 1.781 kB / 0.8323 GB, free: 9.523 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003006/0.5292, allocations: 270 kB / 0.8326 GB, free: 9.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.5293, allocations: 0 / 0.8326 GB, free: 9.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.5294, allocations: 44.62 kB / 0.8326 GB, free: 9.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.5294, allocations: 4 kB / 0.8326 GB, free: 9.336 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.5294, allocations: 4.578 kB / 0.8326 GB, free: 9.336 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.5294, allocations: 0 / 0.8326 GB, free: 9.336 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5294, allocations: 0.9688 kB / 0.8326 GB, free: 9.336 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000552/0.53, allocations: 428.6 kB / 0.8331 GB, free: 9.125 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.683e-05/0.5301, allocations: 59.83 kB / 0.8331 GB, free: 9.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.5301, allocations: 1.781 kB / 0.8331 GB, free: 9.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.5302, allocations: 26.98 kB / 0.8331 GB, free: 9.086 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.734e-05/0.5303, allocations: 16.61 kB / 0.8332 GB, free: 9.082 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.5303, allocations: 4.578 kB / 0.8332 GB, free: 9.082 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002617/0.5306, allocations: 295.1 kB / 0.8334 GB, free: 8.945 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5306, allocations: 5.062 kB / 0.8334 GB, free: 8.941 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004937/0.5311, allocations: 116.9 kB / 0.8336 GB, free: 8.926 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 (11): * Single equations (assignments): 11 * 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.000299/0.5314, allocations: 177.3 kB / 0.8337 GB, free: 8.812 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007073/0.5321, allocations: 463.2 kB / 0.8342 GB, free: 8.637 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.5321, allocations: 0 / 0.8342 GB, free: 8.637 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000235/0.5323, allocations: 136.9 kB / 0.8343 GB, free: 8.609 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.5327, allocations: 65.48 kB / 0.8344 GB, free: 8.582 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.5337, allocations: 0.6815 MB / 0.835 GB, free: 8.191 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001752/0.5339, allocations: 183.9 kB / 0.8352 GB, free: 8.102 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.612e-05/0.5339, allocations: 30.7 kB / 0.8352 GB, free: 8.09 MB / 0.6198 GB Notification: Performance of SimCode: time 1.502e-06/0.5339, allocations: 0 / 0.8352 GB, free: 8.09 MB / 0.6198 GB Notification: Performance of Templates: time 0.007744/0.5417, allocations: 5.083 MB / 0.8402 GB, free: 6.051 MB / 0.6198 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.502698153723031] Failed to read output from testmodel.py, exit status != 0: 0.548853606916964 0.559011986 0.037179407000000005 Calling exit ...