Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 114.6 kB / 17.08 MB, free: 5.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 191.7 kB / 20.02 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 222.9 MB / 245.7 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.238/1.238, allocations: 173.4 MB / 471.3 MB, free: 6.891 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 61.88 kB / 0.649 GB, free: 22.84 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2102, allocations: 89.53 MB / 0.7364 GB, free: 3.672 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003643/0.2139, allocations: 2.038 MB / 0.7384 GB, free: 1.621 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005977/0.2199, allocations: 4.058 MB / 0.7424 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001475/0.22, allocations: 4 kB / 0.7424 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.2211, allocations: 201.9 kB / 0.7426 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001425/0.2213, allocations: 67.42 kB / 0.7426 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007519/0.2221, allocations: 263.2 kB / 0.7429 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006442/0.2227, allocations: 382.8 kB / 0.7432 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.2229, allocations: 52.38 kB / 0.7433 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001665/0.223, allocations: 107.6 kB / 0.7434 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001919/0.2232, allocations: 131.4 kB / 0.7435 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.978e-05/0.2233, allocations: 16 kB / 0.7435 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005201/0.2238, allocations: 307.5 kB / 0.7438 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.2239, allocations: 99.7 kB / 0.7439 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001524/0.2241, allocations: 147.1 kB / 0.7441 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000701/0.2248, allocations: 0.5175 MB / 0.7446 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2248, allocations: 0 / 0.7446 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2248, allocations: 0 / 0.7446 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.2249, allocations: 0 / 0.7446 GB, free: 11.28 MB / 0.5606 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.001429/0.2263, allocations: 0.7639 MB / 0.7453 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.2263, allocations: 8.031 kB / 0.7453 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.403e-05/0.2264, allocations: 36.7 kB / 0.7454 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005507/0.227, allocations: 338.5 kB / 0.7457 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.227, allocations: 16.12 kB / 0.7457 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.227, allocations: 7.938 kB / 0.7457 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005417/0.2276, allocations: 197.5 kB / 0.7459 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.2276, allocations: 0 / 0.7459 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.2276, allocations: 4 kB / 0.7459 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.2277, allocations: 3.938 kB / 0.7459 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007473/0.2284, allocations: 239.8 kB / 0.7461 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.2295, allocations: 0.5939 MB / 0.7467 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004637/0.2299, allocations: 174.5 kB / 0.7469 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003868/0.2303, allocations: 144.7 kB / 0.747 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.112e-05/0.2304, allocations: 19.98 kB / 0.747 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.042e-05/0.2305, allocations: 38.56 kB / 0.7471 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.2305, allocations: 0 / 0.7471 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.001357/0.2318, allocations: 453.4 kB / 0.7475 GB, free: 8.094 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.2319, allocations: 51.41 kB / 0.7475 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004587/0.2324, allocations: 405.6 kB / 0.7479 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.2324, allocations: 29.7 kB / 0.748 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.2325, allocations: 180 kB / 0.7481 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.774e-05/0.2326, allocations: 47.62 kB / 0.7482 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.524e-05/0.2327, allocations: 37.69 kB / 0.7482 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000188/0.2329, allocations: 350.8 kB / 0.7485 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004347/0.2333, allocations: 171.8 kB / 0.7487 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004212/0.2338, allocations: 167.9 kB / 0.7489 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000829/0.2346, allocations: 353 kB / 0.7492 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2346, allocations: 0 / 0.7492 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001027/0.2357, allocations: 466.8 kB / 0.7497 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.416e-05/0.2357, allocations: 41.69 kB / 0.7497 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.2358, allocations: 7.938 kB / 0.7497 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.2358, allocations: 3.938 kB / 0.7497 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003245/0.2361, allocations: 51.88 kB / 0.7498 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.2361, allocations: 0 / 0.7498 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002537/0.2364, allocations: 39.86 kB / 0.7498 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.235e-05/0.2364, allocations: 4 kB / 0.7498 GB, free: 5.664 MB / 0.5606 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.0001726/0.2366, allocations: 157.8 kB / 0.7499 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.322e-05/0.2367, allocations: 35.77 kB / 0.75 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009686/0.2377, allocations: 344.5 kB / 0.7503 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.2377, allocations: 7.938 kB / 0.7503 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.2377, allocations: 0 / 0.7503 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.2377, allocations: 3.984 kB / 0.7503 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004212/0.2381, allocations: 329.5 kB / 0.7506 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2381, allocations: 3.938 kB / 0.7506 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000283/0.2384, allocations: 47.94 kB / 0.7507 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.2384, allocations: 0 / 0.7507 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.2385, allocations: 7.938 kB / 0.7507 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.2385, allocations: 7.938 kB / 0.7507 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2385, allocations: 0 / 0.7507 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009061/0.2394, allocations: 423 kB / 0.7511 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.2395, allocations: 128.8 kB / 0.7512 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.242e-05/0.2396, allocations: 4 kB / 0.7512 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002593/0.2398, allocations: 35.89 kB / 0.7513 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.31e-05/0.2399, allocations: 11.98 kB / 0.7513 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.24, allocations: 7.984 kB / 0.7513 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003134/0.2403, allocations: 291.1 kB / 0.7516 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.944e-06/0.2403, allocations: 0 / 0.7516 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004937/0.2408, allocations: 123.7 kB / 0.7517 GB, free: 3.641 MB / 0.5606 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.0003702/0.2412, allocations: 175 kB / 0.7518 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001095/0.2423, allocations: 0.4921 MB / 0.7523 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2423, allocations: 0 / 0.7523 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000407/0.2427, allocations: 139.9 kB / 0.7525 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005316/0.2432, allocations: 55.75 kB / 0.7525 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.2444, allocations: 0.6809 MB / 0.7532 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004506/0.2449, allocations: 0.7866 MB / 0.7539 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.245, allocations: 27.42 kB / 0.754 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of SimCode: time 2.7e-07/0.245, allocations: 0 / 0.754 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of Templates: time 0.008092/0.2531, allocations: 4.803 MB / 0.7587 GB, free: 12.44 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.139910943806171] Failed to read output from testmodel.py, exit status != 0: 0.2599264020100236 0.277034119 0.048717908000000004 Calling exit ...