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.001255/0.001255, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.001392/0.001392, allocations: 203.3 kB / 22.18 MB, free: 5.211 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.368/1.368, allocations: 225.6 MB / 250.9 MB, free: 13.25 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.032/1.032, allocations: 175.8 MB / 481.9 MB, free: 7.691 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.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.001964/0.001964, allocations: 68.55 kB / 0.6705 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4855/0.4875, allocations: 94.53 MB / 0.7628 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002901/0.4904, allocations: 2.058 MB / 0.7648 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0048/0.4952, allocations: 4.123 MB / 0.7689 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001682/0.4954, allocations: 5.656 kB / 0.7689 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008753/0.4962, allocations: 196.7 kB / 0.769 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001256/0.4964, allocations: 65.8 kB / 0.7691 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007015/0.4971, allocations: 265.7 kB / 0.7694 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005152/0.4976, allocations: 384.6 kB / 0.7697 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.4977, allocations: 32.78 kB / 0.7698 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.4978, allocations: 116 kB / 0.7699 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.498, allocations: 130.4 kB / 0.77 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.218e-05/0.498, allocations: 16.12 kB / 0.77 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004278/0.4984, allocations: 308.6 kB / 0.7703 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.181e-05/0.4985, allocations: 102.9 kB / 0.7704 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.4986, allocations: 146.2 kB / 0.7705 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005347/0.4992, allocations: 0.5179 MB / 0.7711 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.4992, allocations: 0.75 kB / 0.7711 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.163e-06/0.4992, allocations: 0 / 0.7711 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.4992, allocations: 0.9375 kB / 0.7711 GB, free: 5.258 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001176/0.5004, allocations: 0.7593 MB / 0.7718 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.5004, allocations: 9.156 kB / 0.7718 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.202e-05/0.5005, allocations: 44.09 kB / 0.7718 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004328/0.5009, allocations: 342.9 kB / 0.7722 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.5009, allocations: 10.69 kB / 0.7722 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.5009, allocations: 7.094 kB / 0.7722 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005112/0.5015, allocations: 200.1 kB / 0.7724 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.5015, allocations: 0.875 kB / 0.7724 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.5015, allocations: 7.141 kB / 0.7724 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.5015, allocations: 1.969 kB / 0.7724 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007072/0.5022, allocations: 246 kB / 0.7726 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008694/0.5031, allocations: 0.5782 MB / 0.7732 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004159/0.5035, allocations: 177 kB / 0.7734 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003552/0.5038, allocations: 130.6 kB / 0.7735 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.888e-05/0.5039, allocations: 20.48 kB / 0.7735 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.5039, allocations: 40.14 kB / 0.7735 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 2.104e-06/0.5039, allocations: 0.8438 kB / 0.7735 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.001298/0.5052, allocations: 442.5 kB / 0.774 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.217e-05/0.5052, allocations: 53.19 kB / 0.774 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004164/0.5057, allocations: 408.7 kB / 0.7744 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.5057, allocations: 30.92 kB / 0.7744 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.411e-05/0.5058, allocations: 187.8 kB / 0.7746 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.336e-05/0.5058, allocations: 39.44 kB / 0.7746 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.534e-05/0.5059, allocations: 40.42 kB / 0.7747 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.554e-05/0.5059, allocations: 346.1 kB / 0.775 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004213/0.5064, allocations: 172.2 kB / 0.7752 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004147/0.5068, allocations: 171.3 kB / 0.7753 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007655/0.5075, allocations: 354.9 kB / 0.7757 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.5075, allocations: 0 / 0.7757 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008955/0.5084, allocations: 466 kB / 0.7761 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.881e-05/0.5085, allocations: 45.27 kB / 0.7762 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.5085, allocations: 0.5156 kB / 0.7762 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.5085, allocations: 5.125 kB / 0.7762 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003224/0.5088, allocations: 48.3 kB / 0.7762 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.5088, allocations: 0.8438 kB / 0.7762 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002649/0.5091, allocations: 43.12 kB / 0.7763 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.245e-05/0.5091, allocations: 8.062 kB / 0.7763 GB, free: 2.336 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 (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.0001172/0.5092, allocations: 152.7 kB / 0.7764 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.454e-05/0.5093, allocations: 34.23 kB / 0.7765 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008911/0.5102, allocations: 353.4 kB / 0.7768 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.5102, allocations: 3.938 kB / 0.7768 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5102, allocations: 0.7031 kB / 0.7768 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.5102, allocations: 0.75 kB / 0.7768 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003252/0.5105, allocations: 345.4 kB / 0.7771 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.5105, allocations: 4 kB / 0.7771 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002834/0.5108, allocations: 42.39 kB / 0.7772 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.5108, allocations: 2.344 kB / 0.7772 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.5108, allocations: 6.156 kB / 0.7772 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.5108, allocations: 4.641 kB / 0.7772 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5108, allocations: 1.219 kB / 0.7772 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007945/0.5116, allocations: 425.1 kB / 0.7776 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.5117, allocations: 128.4 kB / 0.7777 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.623e-05/0.5118, allocations: 1.672 kB / 0.7777 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002629/0.512, allocations: 38.83 kB / 0.7777 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.227e-05/0.5121, allocations: 13.78 kB / 0.7778 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.5121, allocations: 4 kB / 0.7778 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002598/0.5124, allocations: 286.1 kB / 0.778 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.5124, allocations: 0 / 0.778 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004792/0.5129, allocations: 121.7 kB / 0.7782 GB, free: 1.305 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 (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.0002897/0.5131, allocations: 176.8 kB / 0.7783 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009077/0.5141, allocations: 460.3 kB / 0.7788 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5141, allocations: 5.188 kB / 0.7788 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003737/0.5144, allocations: 141.3 kB / 0.7789 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004448/0.5149, allocations: 69.73 kB / 0.779 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009447/0.5158, allocations: 0.6409 MB / 0.7796 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.5161, allocations: 0.7788 MB / 0.7804 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001584/0.5162, allocations: 48.33 kB / 0.7804 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.75e-05/0.5163, allocations: 27.7 kB / 0.7804 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of SimCode: time 3.61e-07/0.5163, allocations: 0 / 0.7804 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of Templates: time 0.009087/0.5254, allocations: 4.953 MB / 0.7853 GB, free: 15.57 MB / 0.5919 GB " [Timeout remaining time 659] 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.826359339058399] Failed to read output from testmodel.py, exit status != 0: 0.5338160870596766 0.54770648 0.045446394 Calling exit ...