Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.00146/0.00146, allocations: 110.5 kB / 17.08 MB, free: 6.012 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.001448/0.001448, allocations: 194.2 kB / 20.03 MB, free: 3.082 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.457/1.457, allocations: 222.9 MB / 245.7 MB, free: 4.203 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.2/1.2, allocations: 173.4 MB / 471.3 MB, free: 6.566 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.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 72.06 kB / 0.649 GB, free: 22.85 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.2235, allocations: 89.52 MB / 0.7364 GB, free: 3.598 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003391/0.2269, allocations: 1.858 MB / 0.7382 GB, free: 1.727 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004838/0.2318, allocations: 3.6 MB / 0.7417 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.2319, allocations: 0 / 0.7417 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008695/0.2329, allocations: 191.2 kB / 0.7419 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002314/0.2331, allocations: 71.53 kB / 0.742 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 8.286e-05/0.2332, allocations: 31.89 kB / 0.742 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004983/0.2337, allocations: 263.1 kB / 0.7423 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.2338, allocations: 29.53 kB / 0.7423 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.234, allocations: 79.7 kB / 0.7424 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.2341, allocations: 75.67 kB / 0.7425 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.2342, allocations: 8 kB / 0.7425 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.22e-05/0.2343, allocations: 31.92 kB / 0.7425 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.272e-05/0.2344, allocations: 59.8 kB / 0.7425 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.2345, allocations: 83.42 kB / 0.7426 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003132/0.2348, allocations: 195 kB / 0.7428 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.2348, allocations: 7.938 kB / 0.7428 GB, free: 13 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2348, allocations: 0 / 0.7428 GB, free: 13 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.2348, allocations: 0 / 0.7428 GB, free: 13 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001008/0.2358, allocations: 0.537 MB / 0.7433 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.2359, allocations: 8.031 kB / 0.7434 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.305e-05/0.236, allocations: 28.75 kB / 0.7434 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000393/0.2364, allocations: 247.9 kB / 0.7436 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.2364, allocations: 12.12 kB / 0.7436 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.2364, allocations: 8 kB / 0.7436 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004/0.2368, allocations: 145.4 kB / 0.7438 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.2368, allocations: 0 / 0.7438 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.2369, allocations: 0 / 0.7438 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.706e-05/0.2369, allocations: 11.98 kB / 0.7438 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004776/0.2374, allocations: 143.9 kB / 0.7439 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007769/0.2382, allocations: 456.5 kB / 0.7444 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004471/0.2386, allocations: 189.6 kB / 0.7445 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002694/0.2389, allocations: 101 kB / 0.7446 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.239, allocations: 0 / 0.7446 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.239, allocations: 46.55 kB / 0.7447 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.082e-06/0.239, allocations: 0 / 0.7447 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0008963/0.2399, allocations: 289.4 kB / 0.745 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.807e-05/0.24, allocations: 55.34 kB / 0.745 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/0.2402, allocations: 250.7 kB / 0.7452 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.2403, allocations: 25.7 kB / 0.7453 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.2404, allocations: 136.1 kB / 0.7454 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.637e-05/0.2405, allocations: 55.56 kB / 0.7455 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.956e-05/0.2405, allocations: 29.7 kB / 0.7455 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001829/0.2407, allocations: 334.8 kB / 0.7458 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002507/0.241, allocations: 75.92 kB / 0.7459 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.2412, allocations: 71.94 kB / 0.7459 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004733/0.2417, allocations: 168.8 kB / 0.7461 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2417, allocations: 0 / 0.7461 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005979/0.2423, allocations: 216.7 kB / 0.7463 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/0.2424, allocations: 8 kB / 0.7463 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.2424, allocations: 3.938 kB / 0.7463 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/0.2424, allocations: 3.984 kB / 0.7463 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002637/0.2427, allocations: 35.97 kB / 0.7464 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.2427, allocations: 3.938 kB / 0.7464 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/0.2429, allocations: 15.94 kB / 0.7464 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.2429, allocations: 11.98 kB / 0.7464 GB, free: 9.121 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 (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 prepare postOptimizeDAE: time 0.0001608/0.2431, allocations: 137.8 kB / 0.7465 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.943e-05/0.2431, allocations: 23.86 kB / 0.7465 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.909e-05/0.2432, allocations: 29.83 kB / 0.7466 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.2432, allocations: 0 / 0.7466 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.2432, allocations: 3.938 kB / 0.7466 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.2432, allocations: 0 / 0.7466 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003883/0.2436, allocations: 269.5 kB / 0.7468 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2436, allocations: 7.938 kB / 0.7468 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002193/0.2439, allocations: 43.95 kB / 0.7469 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.2439, allocations: 0 / 0.7469 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.2439, allocations: 0 / 0.7469 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.2439, allocations: 3.938 kB / 0.7469 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.2439, allocations: 7.938 kB / 0.7469 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006338/0.2446, allocations: 327.3 kB / 0.7472 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.2447, allocations: 109 kB / 0.7473 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.435e-05/0.2447, allocations: 0 / 0.7473 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.2449, allocations: 19.92 kB / 0.7473 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.113e-05/0.245, allocations: 11.92 kB / 0.7473 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.245, allocations: 7.984 kB / 0.7474 GB, free: 8.043 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001883/0.2452, allocations: 186 kB / 0.7475 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2452, allocations: 0 / 0.7475 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002899/0.2455, allocations: 43.89 kB / 0.7476 GB, free: 7.816 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 (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.0001776/0.2457, allocations: 99.25 kB / 0.7477 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005656/0.2463, allocations: 183.8 kB / 0.7478 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2463, allocations: 0 / 0.7478 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002727/0.2466, allocations: 91.92 kB / 0.7479 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004957/0.2471, allocations: 54.64 kB / 0.748 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009497/0.248, allocations: 0.4988 MB / 0.7485 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004349/0.2485, allocations: 0.7435 MB / 0.7492 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.975e-05/0.2486, allocations: 19.42 kB / 0.7492 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.2486, allocations: 0 / 0.7492 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of Templates: time 0.005392/0.254, allocations: 2.74 MB / 0.7519 GB, free: 3.359 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.858170507941395] Failed to read output from testmodel.py, exit status != 0: 0.2610450789798051 0.274342642 0.036987703000000004 Calling exit ...