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.0007839/0.0007839, allocations: 105.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.001269/0.001269, allocations: 219.1 kB / 22.26 MB, free: 3.699 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 0.9929/0.9929, allocations: 230.6 MB / 256 MB, free: 9.812 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.8346/0.8346, allocations: 203.8 MB / 0.5042 GB, free: 10.73 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.001081/0.001081, allocations: 76.81 kB / 0.7182 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5798/0.5809, allocations: 102 MB / 0.8179 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002077/0.583, allocations: 1.544 MB / 0.8194 GB, free: 188 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000629/0.5836, allocations: 0.5016 MB / 0.8199 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.178e-05/0.5837, allocations: 1.156 kB / 0.8199 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.74e-05/0.5837, allocations: 5.344 kB / 0.8199 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.27e-05/0.5837, allocations: 13.81 kB / 0.8199 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002308/0.584, allocations: 34.3 kB / 0.8199 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00012/0.5841, allocations: 55.84 kB / 0.82 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.645e-05/0.5842, allocations: 12.91 kB / 0.82 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.5843, allocations: 33.23 kB / 0.82 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.285e-05/0.5844, allocations: 24.38 kB / 0.82 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.5844, allocations: 3.438 kB / 0.82 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.759e-05/0.5845, allocations: 6.484 kB / 0.82 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.709e-05/0.5845, allocations: 11.86 kB / 0.8201 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.625e-05/0.5845, allocations: 18.45 kB / 0.8201 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.5846, allocations: 59.42 kB / 0.8201 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.5846, allocations: 0 / 0.8201 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.994e-06/0.5846, allocations: 0 / 0.8201 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.5847, allocations: 0 / 0.8201 GB, free: 15.7 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.0003803/0.585, allocations: 297.8 kB / 0.8204 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.5851, allocations: 10.09 kB / 0.8204 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.056e-05/0.5851, allocations: 35.31 kB / 0.8205 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001317/0.5852, allocations: 25.17 kB / 0.8205 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.5854, allocations: 129.2 kB / 0.8206 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.5854, allocations: 6.844 kB / 0.8206 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.5854, allocations: 384 / 0.8206 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.5856, allocations: 59.91 kB / 0.8207 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.5856, allocations: 0.5625 kB / 0.8207 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.5856, allocations: 4 kB / 0.8207 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.5856, allocations: 0.8125 kB / 0.8207 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.42e-05/0.5857, allocations: 37.05 kB / 0.8207 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003035/0.586, allocations: 250.2 kB / 0.8209 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.947e-05/0.5861, allocations: 43.12 kB / 0.821 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.29e-05/0.5861, allocations: 20.14 kB / 0.821 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.5861, allocations: 4 kB / 0.821 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.5861, allocations: 36.88 kB / 0.821 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.5861, allocations: 0 / 0.821 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002197/0.5864, allocations: 85.58 kB / 0.8211 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/0.5864, allocations: 53.28 kB / 0.8212 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.262e-05/0.5865, allocations: 124 kB / 0.8213 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.5865, allocations: 30.55 kB / 0.8213 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.248e-05/0.5865, allocations: 96.73 kB / 0.8214 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.5865, allocations: 5.812 kB / 0.8214 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.519e-05/0.5866, allocations: 19 kB / 0.8214 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.212e-05/0.5866, allocations: 321.2 kB / 0.8218 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.038e-05/0.5867, allocations: 18.27 kB / 0.8218 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.689e-05/0.5867, allocations: 21.16 kB / 0.8218 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.576e-05/0.5868, allocations: 41.36 kB / 0.8218 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5868, allocations: 0 / 0.8218 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001172/0.5869, allocations: 77.33 kB / 0.8219 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.5869, allocations: 4.844 kB / 0.8219 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.5869, allocations: 1.734 kB / 0.8219 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.587, allocations: 0 / 0.8219 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.302e-05/0.587, allocations: 10.75 kB / 0.8219 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.587, allocations: 0 / 0.8219 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.825e-05/0.5871, allocations: 10.53 kB / 0.8219 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.5871, allocations: 0.5156 kB / 0.8219 GB, free: 14.05 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.788e-05/0.5871, allocations: 121.5 kB / 0.822 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.502e-05/0.5872, allocations: 11.45 kB / 0.8221 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.216e-05/0.5872, allocations: 5.734 kB / 0.8221 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.5872, allocations: 0 / 0.8221 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.5872, allocations: 3.5 kB / 0.8221 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.5872, allocations: 0.5625 kB / 0.8221 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/0.5873, allocations: 148.2 kB / 0.8222 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.5873, allocations: 0 / 0.8222 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.024e-05/0.5873, allocations: 8.031 kB / 0.8222 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.5873, allocations: 0.75 kB / 0.8222 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-06/0.5874, allocations: 4.125 kB / 0.8222 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.4e-07/0.5874, allocations: 4 kB / 0.8222 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.9e-07/0.5874, allocations: 0 / 0.8222 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001439/0.5875, allocations: 163 kB / 0.8224 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.658e-06/0.5875, allocations: 10.92 kB / 0.8224 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.085e-05/0.5875, allocations: 4.562 kB / 0.8224 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.857e-05/0.5876, allocations: 8.047 kB / 0.8224 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.5876, allocations: 9.719 kB / 0.8224 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.5876, allocations: 4.062 kB / 0.8224 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.419e-05/0.5877, allocations: 94.88 kB / 0.8225 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.5877, allocations: 3.938 kB / 0.8225 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001459/0.5878, allocations: 7.281 kB / 0.8225 GB, free: 13.5 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.0003842/0.5882, allocations: 0.7092 MB / 0.8232 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001422/0.5883, allocations: 46.94 kB / 0.8233 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.5883, allocations: 0 / 0.8233 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.995e-05/0.5884, allocations: 20.89 kB / 0.8233 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001574/0.5885, allocations: 2.75 kB / 0.8233 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.5896, allocations: 1.379 MB / 0.8246 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000203/0.5898, allocations: 0.6825 MB / 0.8253 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.257e-05/0.5898, allocations: 3.656 kB / 0.8253 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.319e-05/0.5899, allocations: 20.72 kB / 0.8253 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of SimCode: time 8.41e-07/0.5899, allocations: 0 / 0.8253 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01595/0.6058, allocations: 1.662 MB / 0.8269 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.873/7.479, allocations: 11.39 kB / 0.8269 GB, free: 10.4 MB / 0.6198 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 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.69034248800017] Failed to read output from testmodel.py, exit status != 0: 7.559434263966978 7.5752009639999995 6.987600512 Calling exit ...