Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.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.001564/0.001564, allocations: 108.1 kB / 16.45 MB, free: 6.488 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.001522/0.001522, allocations: 195.7 kB / 19.41 MB, free: 3.68 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.473/1.473, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.063/1.063, allocations: 175.7 MB / 478.4 MB, free: 8.516 MB / 382.1 MB " [Timeout remaining time 178] 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.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") translateModel(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 62.95 kB / 0.6656 GB, free: 164 kB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2375, allocations: 94.53 MB / 0.7579 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.4779/0.7154, allocations: 1.511 MB / 0.7594 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009833/0.7164, allocations: 408 kB / 0.7598 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.468e-05/0.7164, allocations: 0.6875 kB / 0.7598 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.571e-05/0.7165, allocations: 8.859 kB / 0.7598 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.893e-05/0.7165, allocations: 12.31 kB / 0.7598 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001853/0.7167, allocations: 15.28 kB / 0.7598 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.7168, allocations: 52.92 kB / 0.7599 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.717, allocations: 10.52 kB / 0.7599 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.7171, allocations: 31.86 kB / 0.7599 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.304e-05/0.7172, allocations: 25.48 kB / 0.7599 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.7172, allocations: 3.656 kB / 0.76 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.311e-05/0.7172, allocations: 3.594 kB / 0.76 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.27e-05/0.7172, allocations: 13.27 kB / 0.76 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.169e-05/0.7173, allocations: 21.55 kB / 0.76 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.7174, allocations: 45.42 kB / 0.76 GB, free: 9 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.7174, allocations: 3.125 kB / 0.76 GB, free: 9 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7174, allocations: 0 / 0.76 GB, free: 9 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.7174, allocations: 1.25 kB / 0.76 GB, free: 9 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004867/0.7179, allocations: 358.9 kB / 0.7604 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.7179, allocations: 9.594 kB / 0.7604 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.672e-05/0.718, allocations: 7.594 kB / 0.7604 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.7181, allocations: 185.3 kB / 0.7606 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.278e-06/0.7181, allocations: 2.062 kB / 0.7606 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.7181, allocations: 5.219 kB / 0.7606 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.7183, allocations: 54.31 kB / 0.7606 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.7183, allocations: 1.125 kB / 0.7606 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.7183, allocations: 4.031 kB / 0.7606 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.7183, allocations: 0.625 kB / 0.7606 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.7185, allocations: 35.36 kB / 0.7607 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003766/0.7188, allocations: 278.7 kB / 0.7609 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.719, allocations: 37.31 kB / 0.761 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.472e-05/0.719, allocations: 25.42 kB / 0.761 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.7191, allocations: 0.9375 kB / 0.761 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.524e-05/0.7191, allocations: 32.28 kB / 0.761 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.7191, allocations: 1.281 kB / 0.761 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0003405/0.7194, allocations: 90.81 kB / 0.7611 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.7195, allocations: 53.92 kB / 0.7612 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.7196, allocations: 117.6 kB / 0.7613 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.7196, allocations: 26.31 kB / 0.7613 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.657e-05/0.7197, allocations: 90.55 kB / 0.7614 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.7197, allocations: 14.17 kB / 0.7614 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.434e-05/0.7197, allocations: 18 kB / 0.7614 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.7199, allocations: 321.2 kB / 0.7617 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.365e-05/0.7199, allocations: 16.27 kB / 0.7617 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.155e-05/0.72, allocations: 19.2 kB / 0.7618 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.7202, allocations: 43.56 kB / 0.7618 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.7202, allocations: 1.219 kB / 0.7618 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002207/0.7204, allocations: 74.75 kB / 0.7619 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.7204, allocations: 7.297 kB / 0.7619 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.7204, allocations: 0 / 0.7619 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.7204, allocations: 1.25 kB / 0.7619 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.7206, allocations: 11.56 kB / 0.7619 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.7206, allocations: 0 / 0.7619 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.687e-05/0.7206, allocations: 8.719 kB / 0.7619 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.7206, allocations: 3.156 kB / 0.7619 GB, free: 7.359 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 (3): * Single equations (assignments): 3 * 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 7.433e-05/0.7207, allocations: 118.3 kB / 0.762 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.883e-05/0.7207, allocations: 3.406 kB / 0.762 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.607e-05/0.7208, allocations: 11.89 kB / 0.762 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.7208, allocations: 0.7812 kB / 0.762 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.7208, allocations: 0.5 kB / 0.762 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.7208, allocations: 2.516 kB / 0.762 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.721, allocations: 179 kB / 0.7622 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.721, allocations: 0.5 kB / 0.7622 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.143e-05/0.721, allocations: 13.36 kB / 0.7622 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.721, allocations: 1.812 kB / 0.7622 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.7211, allocations: 1.297 kB / 0.7622 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.7211, allocations: 0.5938 kB / 0.7622 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.7211, allocations: 0.75 kB / 0.7622 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000222/0.7213, allocations: 175.8 kB / 0.7624 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.62e-05/0.7213, allocations: 83.38 kB / 0.7625 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.7213, allocations: 4.781 kB / 0.7625 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.07e-05/0.7214, allocations: 5.812 kB / 0.7625 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.456e-05/0.7215, allocations: 10.5 kB / 0.7625 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.7215, allocations: 1.531 kB / 0.7625 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.921e-05/0.7215, allocations: 92.14 kB / 0.7626 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.1e-08/0.7215, allocations: 0 / 0.7626 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002247/0.7217, allocations: 15.12 kB / 0.7626 GB, free: 6.707 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 (3): * Single equations (assignments): 3 * 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 9.721e-05/0.7218, allocations: 101.3 kB / 0.7627 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002381/0.7221, allocations: 37.61 kB / 0.7627 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.7221, allocations: 0.9062 kB / 0.7627 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.605e-05/0.7222, allocations: 22.91 kB / 0.7628 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002054/0.7224, allocations: 2.031 kB / 0.7628 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003839/0.7227, allocations: 181.1 kB / 0.7629 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.7229, allocations: 0.6825 MB / 0.7636 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.584e-05/0.7229, allocations: 2.031 kB / 0.7636 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.164e-05/0.7229, allocations: 14.02 kB / 0.7636 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of SimCode: time 2.8e-07/0.7229, allocations: 0 / 0.7636 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of Templates: time 0.003153/0.7261, allocations: 471.5 kB / 0.7641 GB, free: 5.727 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.405610106885433]