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.0007888/0.0007888, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0009628/0.0009628, allocations: 206.6 kB / 22.24 MB, free: 3.582 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.947/0.947, allocations: 230.6 MB / 256 MB, free: 9.605 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.801/0.801, allocations: 203.8 MB / 0.5042 GB, free: 10.46 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.001006/0.001006, allocations: 66.14 kB / 0.7182 GB, free: 4.016 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5841/0.5851, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002336/0.5875, allocations: 1.523 MB / 0.8193 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007598/0.5882, allocations: 464.5 kB / 0.8197 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.663e-05/0.5883, allocations: 1.406 kB / 0.8197 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.215e-05/0.5883, allocations: 4.547 kB / 0.8197 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.405e-05/0.5884, allocations: 17.61 kB / 0.8198 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002633/0.5886, allocations: 33.59 kB / 0.8198 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.5887, allocations: 58.31 kB / 0.8198 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.5889, allocations: 13.52 kB / 0.8199 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.589, allocations: 24.06 kB / 0.8199 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.36e-05/0.5891, allocations: 29.69 kB / 0.8199 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.5891, allocations: 2.656 kB / 0.8199 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.998e-05/0.5891, allocations: 7.297 kB / 0.8199 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.5e-05/0.5891, allocations: 10.14 kB / 0.8199 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.015e-05/0.5892, allocations: 19.94 kB / 0.8199 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001356/0.5893, allocations: 57.95 kB / 0.82 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.5893, allocations: 4.078 kB / 0.82 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.444e-06/0.5893, allocations: 0 / 0.82 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.5893, allocations: 0 / 0.82 GB, free: 15.55 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.0003763/0.5897, allocations: 289.6 kB / 0.8203 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.5897, allocations: 9.469 kB / 0.8203 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.087e-05/0.5898, allocations: 39.2 kB / 0.8203 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/0.5899, allocations: 28.7 kB / 0.8204 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.5901, allocations: 128.3 kB / 0.8205 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.5901, allocations: 5.125 kB / 0.8205 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.5901, allocations: 7.188 kB / 0.8205 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.5903, allocations: 55.8 kB / 0.8205 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.5903, allocations: 4.5 kB / 0.8205 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.5903, allocations: 0 / 0.8205 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.5903, allocations: 0 / 0.8205 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.713e-05/0.5904, allocations: 37.7 kB / 0.8206 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003376/0.5907, allocations: 245.9 kB / 0.8208 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.5909, allocations: 34.58 kB / 0.8208 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.059e-05/0.5909, allocations: 27.16 kB / 0.8209 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.5909, allocations: 3 kB / 0.8209 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.5909, allocations: 31.17 kB / 0.8209 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.573e-06/0.5909, allocations: 0 / 0.8209 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002712/0.5912, allocations: 89.31 kB / 0.821 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.5913, allocations: 54 kB / 0.821 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.5914, allocations: 125.4 kB / 0.8212 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.5914, allocations: 29.64 kB / 0.8212 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003132/0.5917, allocations: 95 kB / 0.8213 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.219e-05/0.5917, allocations: 10.45 kB / 0.8213 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.691e-05/0.5918, allocations: 14.92 kB / 0.8213 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.5919, allocations: 322 kB / 0.8216 GB, free: 14 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.151e-05/0.5919, allocations: 23.67 kB / 0.8216 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.292e-05/0.592, allocations: 15.52 kB / 0.8216 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.833e-05/0.5921, allocations: 45.58 kB / 0.8217 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.5921, allocations: 0 / 0.8217 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001419/0.5922, allocations: 74.97 kB / 0.8218 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.5923, allocations: 5.156 kB / 0.8218 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.5923, allocations: 0 / 0.8218 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.5923, allocations: 0.6094 kB / 0.8218 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.816e-05/0.5924, allocations: 9.578 kB / 0.8218 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.978e-06/0.5924, allocations: 4 kB / 0.8218 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.086e-05/0.5924, allocations: 6.125 kB / 0.8218 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.5924, allocations: 7.406 kB / 0.8218 GB, free: 13.92 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 7.442e-05/0.5925, allocations: 114.5 kB / 0.8219 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.905e-05/0.5925, allocations: 6.938 kB / 0.8219 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.194e-05/0.5926, allocations: 11.98 kB / 0.8219 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.5926, allocations: 1.031 kB / 0.8219 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.5926, allocations: 0 / 0.8219 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.5926, allocations: 0 / 0.8219 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.5927, allocations: 145.4 kB / 0.8221 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.5927, allocations: 4 kB / 0.8221 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.237e-05/0.5928, allocations: 10.47 kB / 0.8221 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.5928, allocations: 0 / 0.8221 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.5928, allocations: 2.297 kB / 0.8221 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.5928, allocations: 0 / 0.8221 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.5928, allocations: 4.609 kB / 0.8221 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/0.593, allocations: 166 kB / 0.8222 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.762e-05/0.593, allocations: 18.53 kB / 0.8223 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.593, allocations: 4.578 kB / 0.8223 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.065e-05/0.593, allocations: 5.359 kB / 0.8223 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.167e-05/0.5931, allocations: 5.312 kB / 0.8223 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.5931, allocations: 0.75 kB / 0.8223 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.156e-05/0.5931, allocations: 93.64 kB / 0.8224 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5931, allocations: 0 / 0.8224 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001559/0.5933, allocations: 11.69 kB / 0.8224 GB, free: 13.36 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.0004246/0.5937, allocations: 0.6996 MB / 0.8231 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001694/0.5939, allocations: 49.05 kB / 0.8231 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5939, allocations: 0 / 0.8231 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.482e-05/0.5939, allocations: 24.72 kB / 0.8231 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001882/0.5941, allocations: 3.156 kB / 0.8231 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.5954, allocations: 1.373 MB / 0.8245 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.428e-05/0.5955, allocations: 68.08 kB / 0.8245 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.409e-05/0.5956, allocations: 3.203 kB / 0.8245 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.491e-05/0.5956, allocations: 19.12 kB / 0.8246 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of SimCode: time 1.102e-06/0.5956, allocations: 0 / 0.8246 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02296/0.6186, allocations: 2.062 MB / 0.8266 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.878/7.496, allocations: 2.844 kB / 0.8266 GB, free: 10.49 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.617645448073745] Failed to read output from testmodel.py, exit status != 0: 7.575578736141324 7.591159916 6.998593038 Calling exit ...