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.001789/0.001789, allocations: 109.8 kB / 18.88 MB, free: 2.918 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.002074/0.002074, allocations: 200.3 kB / 22.18 MB, free: 4.625 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.39/1.39, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.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.048/1.048, allocations: 175.8 MB / 481.9 MB, free: 7.738 MB / 382.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.001946/0.001946, allocations: 71.56 kB / 0.6705 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5584/0.5603, allocations: 94.53 MB / 0.7628 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003126/0.5635, allocations: 1.889 MB / 0.7647 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003837/0.5673, allocations: 3.644 MB / 0.7682 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.5674, allocations: 2.531 kB / 0.7682 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008237/0.5682, allocations: 196.2 kB / 0.7684 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002051/0.5685, allocations: 73.28 kB / 0.7685 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 8.635e-05/0.5685, allocations: 32.34 kB / 0.7685 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004808/0.569, allocations: 270.3 kB / 0.7688 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.5691, allocations: 19.89 kB / 0.7688 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.5692, allocations: 76.73 kB / 0.7689 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.5694, allocations: 77.47 kB / 0.7689 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.608e-05/0.5694, allocations: 8.25 kB / 0.7689 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.856e-05/0.5695, allocations: 32.22 kB / 0.769 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.674e-05/0.5696, allocations: 54.55 kB / 0.769 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.034e-05/0.5697, allocations: 86.64 kB / 0.7691 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002696/0.5699, allocations: 197.3 kB / 0.7693 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.5699, allocations: 4 kB / 0.7693 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.143e-06/0.5699, allocations: 0 / 0.7693 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.57, allocations: 0 / 0.7693 GB, free: 6.102 MB / 0.5762 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.0008166/0.5708, allocations: 0.5334 MB / 0.7698 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.5708, allocations: 10 kB / 0.7698 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.299e-05/0.5709, allocations: 26.09 kB / 0.7699 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/0.5712, allocations: 256.9 kB / 0.7701 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.5712, allocations: 8.016 kB / 0.7701 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.5712, allocations: 2.594 kB / 0.7701 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003368/0.5715, allocations: 149.4 kB / 0.7702 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.5716, allocations: 0 / 0.7702 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.5716, allocations: 9.438 kB / 0.7703 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.913e-05/0.5716, allocations: 10.41 kB / 0.7703 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004251/0.572, allocations: 142.8 kB / 0.7704 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006408/0.5727, allocations: 447.3 kB / 0.7708 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004026/0.5731, allocations: 168 kB / 0.771 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002395/0.5733, allocations: 101.1 kB / 0.7711 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.5733, allocations: 6.266 kB / 0.7711 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.504e-05/0.5733, allocations: 39.34 kB / 0.7711 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.5733, allocations: 0 / 0.7711 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.000849/0.5742, allocations: 295.2 kB / 0.7714 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.415e-05/0.5742, allocations: 60.47 kB / 0.7715 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002125/0.5744, allocations: 250.9 kB / 0.7717 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.5744, allocations: 25.7 kB / 0.7717 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.671e-05/0.5745, allocations: 140.7 kB / 0.7719 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.279e-05/0.5746, allocations: 44.02 kB / 0.7719 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.995e-05/0.5746, allocations: 27.08 kB / 0.7719 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.824e-05/0.5747, allocations: 338.7 kB / 0.7723 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002246/0.5749, allocations: 74.73 kB / 0.7723 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002129/0.5751, allocations: 74.11 kB / 0.7724 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004216/0.5755, allocations: 163.8 kB / 0.7726 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.5755, allocations: 0 / 0.7726 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005108/0.5761, allocations: 224 kB / 0.7728 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.5761, allocations: 11.02 kB / 0.7728 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.5761, allocations: 0 / 0.7728 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.5761, allocations: 4.938 kB / 0.7728 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002557/0.5764, allocations: 33.19 kB / 0.7728 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.5764, allocations: 4.781 kB / 0.7728 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/0.5765, allocations: 14.33 kB / 0.7728 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.5766, allocations: 3.672 kB / 0.7728 GB, free: 3.738 MB / 0.5762 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.0001037/0.5767, allocations: 138 kB / 0.773 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.866e-05/0.5767, allocations: 25.44 kB / 0.773 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.795e-05/0.5768, allocations: 36.34 kB / 0.773 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.5768, allocations: 1 kB / 0.773 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.5768, allocations: 4.844 kB / 0.773 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.5768, allocations: 3.562 kB / 0.773 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002604/0.577, allocations: 274.3 kB / 0.7733 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.5771, allocations: 3.938 kB / 0.7733 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002219/0.5773, allocations: 34.28 kB / 0.7733 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.5773, allocations: 0 / 0.7733 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.5773, allocations: 3.797 kB / 0.7733 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.5773, allocations: 5.031 kB / 0.7733 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.5773, allocations: 7.562 kB / 0.7734 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005497/0.5778, allocations: 320.2 kB / 0.7737 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.087e-05/0.5779, allocations: 114 kB / 0.7738 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.437e-05/0.578, allocations: 5.891 kB / 0.7738 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001881/0.5782, allocations: 16.91 kB / 0.7738 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.582e-05/0.5782, allocations: 11.92 kB / 0.7738 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.5782, allocations: 8.719 kB / 0.7738 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001383/0.5784, allocations: 177.8 kB / 0.774 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5784, allocations: 0 / 0.774 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000288/0.5787, allocations: 47.3 kB / 0.774 GB, free: 2.891 MB / 0.5762 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.00014/0.5788, allocations: 104.7 kB / 0.7741 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005296/0.5793, allocations: 171.8 kB / 0.7743 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.5793, allocations: 0 / 0.7743 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002508/0.5796, allocations: 89.41 kB / 0.7744 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004862/0.5801, allocations: 57.94 kB / 0.7744 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008601/0.5809, allocations: 0.5079 MB / 0.7749 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001818/0.5811, allocations: 0.7442 MB / 0.7756 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.851e-05/0.5812, allocations: 25.97 kB / 0.7757 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of SimCode: time 3.2e-07/0.5812, allocations: 0 / 0.7757 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of Templates: time 0.005268/0.5865, allocations: 2.762 MB / 0.7784 GB, free: 1.484 MB / 0.5762 GB " [Timeout remaining time 659] 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.575378045905381] Failed to read output from testmodel.py, exit status != 0: 0.5945710316300392 0.6089221020000001 0.035627022 Calling exit ...