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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008113/0.0008113, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 213.8 kB / 22.26 MB, free: 3.703 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.005/1.005, allocations: 230.6 MB / 256 MB, free: 9.82 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8139/0.8139, allocations: 203.8 MB / 0.5042 GB, free: 10.75 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001007/0.001007, allocations: 62.59 kB / 0.7182 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6413/0.6423, allocations: 102 MB / 0.8179 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002097/0.6444, allocations: 1.558 MB / 0.8194 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00069/0.6451, allocations: 496.2 kB / 0.8199 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.352e-05/0.6452, allocations: 3.938 kB / 0.8199 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.835e-05/0.6452, allocations: 5.297 kB / 0.8199 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.411e-05/0.6453, allocations: 15.56 kB / 0.8199 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002463/0.6455, allocations: 31.58 kB / 0.8199 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.6456, allocations: 52.67 kB / 0.82 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.6458, allocations: 21.75 kB / 0.82 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.6459, allocations: 32.62 kB / 0.82 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.565e-05/0.646, allocations: 20.14 kB / 0.82 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.646, allocations: 6.062 kB / 0.82 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.288e-05/0.646, allocations: 6.891 kB / 0.82 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.567e-05/0.646, allocations: 10.05 kB / 0.8201 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.223e-05/0.6461, allocations: 27.31 kB / 0.8201 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.6462, allocations: 50.05 kB / 0.8201 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.6462, allocations: 0 / 0.8201 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.254e-06/0.6462, allocations: 2.281 kB / 0.8201 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.6462, allocations: 3.938 kB / 0.8201 GB, free: 15.68 MB / 0.6198 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.0004207/0.6466, allocations: 293.3 kB / 0.8204 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.6467, allocations: 10.83 kB / 0.8204 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.106e-05/0.6467, allocations: 31.45 kB / 0.8205 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001576/0.6469, allocations: 26.42 kB / 0.8205 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.6471, allocations: 141.4 kB / 0.8206 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.6471, allocations: 0.8906 kB / 0.8206 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.6471, allocations: 2.5 kB / 0.8206 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.6473, allocations: 61.84 kB / 0.8207 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.6473, allocations: 0 / 0.8207 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.6473, allocations: 0 / 0.8207 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.6473, allocations: 0 / 0.8207 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.879e-05/0.6474, allocations: 34.7 kB / 0.8207 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003248/0.6477, allocations: 250.2 kB / 0.8209 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.6478, allocations: 40.69 kB / 0.821 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.252e-05/0.6478, allocations: 23.25 kB / 0.821 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.6479, allocations: 3.281 kB / 0.821 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.6479, allocations: 35.36 kB / 0.821 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 2.284e-06/0.6479, allocations: 3.984 kB / 0.821 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002738/0.6482, allocations: 88.66 kB / 0.8211 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.6482, allocations: 53.66 kB / 0.8212 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.688e-05/0.6483, allocations: 121 kB / 0.8213 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.6483, allocations: 25.7 kB / 0.8213 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.488e-05/0.6483, allocations: 96.52 kB / 0.8214 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.6483, allocations: 13.03 kB / 0.8214 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.211e-05/0.6484, allocations: 16.86 kB / 0.8214 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.461e-05/0.6485, allocations: 320.6 kB / 0.8218 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.688e-05/0.6485, allocations: 13.16 kB / 0.8218 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.733e-05/0.6486, allocations: 18.02 kB / 0.8218 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.332e-05/0.6486, allocations: 45.08 kB / 0.8218 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.6486, allocations: 0 / 0.8218 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001203/0.6488, allocations: 77.7 kB / 0.8219 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.6488, allocations: 7.484 kB / 0.8219 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.6488, allocations: 0 / 0.8219 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.6488, allocations: 1.125 kB / 0.8219 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.771e-05/0.6489, allocations: 14.09 kB / 0.8219 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.6489, allocations: 0.6562 kB / 0.8219 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.502e-05/0.6489, allocations: 4.5 kB / 0.8219 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.535e-06/0.6489, allocations: 4.875 kB / 0.8219 GB, free: 14.04 MB / 0.6198 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 6.275e-05/0.649, allocations: 122.9 kB / 0.822 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.659e-05/0.649, allocations: 6.016 kB / 0.8221 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.335e-05/0.649, allocations: 10.75 kB / 0.8221 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.649, allocations: 5.469 kB / 0.8221 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.649, allocations: 0 / 0.8221 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.649, allocations: 0.5625 kB / 0.8221 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.6493, allocations: 145.2 kB / 0.8222 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.6493, allocations: 0 / 0.8222 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.131e-05/0.6493, allocations: 14.59 kB / 0.8222 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.6493, allocations: 0.6094 kB / 0.8222 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.6493, allocations: 0 / 0.8222 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.6493, allocations: 4.453 kB / 0.8222 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6494, allocations: 3.5 kB / 0.8222 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/0.6495, allocations: 163.2 kB / 0.8224 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.222e-05/0.6495, allocations: 19.73 kB / 0.8224 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.6495, allocations: 0.6562 kB / 0.8224 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.656e-05/0.6496, allocations: 4.375 kB / 0.8224 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.315e-05/0.6496, allocations: 4.484 kB / 0.8224 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.6496, allocations: 0 / 0.8224 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.24e-05/0.6497, allocations: 100.4 kB / 0.8225 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.6497, allocations: 0 / 0.8225 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001456/0.6498, allocations: 16.5 kB / 0.8225 GB, free: 13.48 MB / 0.6198 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 0.0003383/0.6502, allocations: 0.7007 MB / 0.8232 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001354/0.6503, allocations: 41.91 kB / 0.8232 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.6503, allocations: 0 / 0.8232 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.291e-05/0.6503, allocations: 29.48 kB / 0.8233 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.6505, allocations: 1.594 kB / 0.8233 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.6518, allocations: 1.37 MB / 0.8246 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001794/0.6519, allocations: 0.6832 MB / 0.8253 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.239e-05/0.652, allocations: 6.172 kB / 0.8253 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.959e-05/0.652, allocations: 20.22 kB / 0.8253 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of SimCode: time 7.31e-07/0.652, allocations: 0 / 0.8253 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01906/0.6711, allocations: 1.662 MB / 0.8269 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.479/7.15, allocations: 8.266 kB / 0.8269 GB, free: 10.4 MB / 0.6198 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.fmu > IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.238672697916627] Failed to read output from testmodel.py, exit status != 0: 7.2288844608701766 7.245804688 6.59738042 Calling exit ...