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.001303/0.001303, 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.0009168/0.0009168, allocations: 208.1 kB / 22.24 MB, free: 3.59 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.011/1.011, allocations: 230.6 MB / 256 MB, free: 9.617 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.8205/0.8205, allocations: 203.8 MB / 0.5042 GB, free: 10.47 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.001102/0.001102, allocations: 61.94 kB / 0.7182 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5834/0.5845, 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.002108/0.5866, allocations: 1.521 MB / 0.8193 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007564/0.5873, allocations: 471.9 kB / 0.8197 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.272e-05/0.5874, allocations: 0 / 0.8197 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.697e-05/0.5874, allocations: 5.391 kB / 0.8197 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.62e-05/0.5875, allocations: 13.77 kB / 0.8198 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002516/0.5878, allocations: 34.2 kB / 0.8198 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.5879, allocations: 55.67 kB / 0.8198 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.588, allocations: 10.52 kB / 0.8198 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.5881, allocations: 35.44 kB / 0.8199 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.877e-05/0.5882, allocations: 22.48 kB / 0.8199 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.5882, allocations: 2.688 kB / 0.8199 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.307e-05/0.5882, allocations: 16.28 kB / 0.8199 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.678e-05/0.5882, allocations: 9.719 kB / 0.8199 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.683e-05/0.5883, allocations: 16.22 kB / 0.8199 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.5884, allocations: 51.3 kB / 0.82 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.5884, allocations: 0 / 0.82 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.793e-06/0.5884, allocations: 0 / 0.82 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.5884, 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.0003909/0.5888, allocations: 300.5 kB / 0.8203 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.5888, allocations: 9.328 kB / 0.8203 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.962e-05/0.5889, allocations: 32.45 kB / 0.8203 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000137/0.589, allocations: 24.33 kB / 0.8203 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.5892, allocations: 136.1 kB / 0.8205 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.5892, allocations: 4.375 kB / 0.8205 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.797e-06/0.5892, allocations: 3.875 kB / 0.8205 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.5893, allocations: 63.45 kB / 0.8205 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.5894, allocations: 7.938 kB / 0.8205 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.5894, allocations: 0 / 0.8205 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.5894, allocations: 0 / 0.8205 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.308e-05/0.5894, allocations: 30.94 kB / 0.8206 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003112/0.5898, allocations: 244.2 kB / 0.8208 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.702e-05/0.5899, allocations: 34.75 kB / 0.8208 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.181e-05/0.5899, allocations: 28.45 kB / 0.8209 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.5899, allocations: 4 kB / 0.8209 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.5899, allocations: 36.42 kB / 0.8209 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.883e-06/0.59, allocations: 0 / 0.8209 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002186/0.5902, allocations: 82.59 kB / 0.821 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.5902, allocations: 51.41 kB / 0.821 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.215e-05/0.5903, allocations: 124.8 kB / 0.8212 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.978e-06/0.5903, allocations: 29.64 kB / 0.8212 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.149e-05/0.5903, allocations: 93.88 kB / 0.8213 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.5903, allocations: 12.75 kB / 0.8213 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/0.5904, allocations: 15.81 kB / 0.8213 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.912e-05/0.5905, allocations: 318.6 kB / 0.8216 GB, free: 14 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.224e-05/0.5905, allocations: 21.83 kB / 0.8216 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.586e-05/0.5905, allocations: 18.06 kB / 0.8216 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.907e-05/0.5906, allocations: 43.52 kB / 0.8217 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.5906, allocations: 0 / 0.8217 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001065/0.5907, allocations: 79.28 kB / 0.8218 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.5907, allocations: 7.188 kB / 0.8218 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.5907, allocations: 0 / 0.8218 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.5907, allocations: 0 / 0.8218 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.738e-05/0.5908, allocations: 10.39 kB / 0.8218 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.5908, allocations: 0 / 0.8218 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.71e-05/0.5908, allocations: 8.953 kB / 0.8218 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.5908, allocations: 2.344 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 5.639e-05/0.5909, allocations: 114 kB / 0.8219 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.384e-05/0.5909, allocations: 8.984 kB / 0.8219 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.2e-05/0.5909, allocations: 11.47 kB / 0.8219 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.5909, allocations: 0.6094 kB / 0.8219 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.5909, allocations: 1.312 kB / 0.8219 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.5909, allocations: 0.75 kB / 0.8219 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.5911, allocations: 148.7 kB / 0.8221 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.1e-07/0.5911, allocations: 0 / 0.8221 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.68e-05/0.5911, allocations: 9.75 kB / 0.8221 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.5911, allocations: 0 / 0.8221 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.343e-06/0.5911, allocations: 4.125 kB / 0.8221 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.5911, allocations: 4.516 kB / 0.8221 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5911, allocations: 4 kB / 0.8221 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001362/0.5912, allocations: 173.4 kB / 0.8222 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.626e-06/0.5912, allocations: 10.31 kB / 0.8223 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.021e-05/0.5912, allocations: 0 / 0.8223 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.747e-05/0.5913, allocations: 5.719 kB / 0.8223 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.202e-05/0.5913, allocations: 3.547 kB / 0.8223 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-06/0.5913, allocations: 2.219 kB / 0.8223 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.259e-05/0.5914, allocations: 98.66 kB / 0.8224 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5914, allocations: 0 / 0.8224 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001442/0.5915, allocations: 10.5 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.0003184/0.5918, allocations: 0.7019 MB / 0.8231 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001223/0.5919, allocations: 43.8 kB / 0.8231 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.5919, allocations: 0 / 0.8231 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.145e-05/0.592, allocations: 19.55 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.0001617/0.5922, allocations: 14.12 kB / 0.8231 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.5933, allocations: 1.367 MB / 0.8245 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.623e-05/0.5934, allocations: 66.77 kB / 0.8245 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.847e-05/0.5934, allocations: 11.67 kB / 0.8245 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.639e-05/0.5934, allocations: 18.09 kB / 0.8246 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of SimCode: time 5.11e-07/0.5934, allocations: 0 / 0.8246 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01889/0.6123, allocations: 2.056 MB / 0.8266 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.6/7.212, allocations: 10.5 kB / 0.8266 GB, free: 10.48 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.364781162701547] Failed to read output from testmodel.py, exit status != 0: 7.289749159943312 7.305996037 6.715093255 Calling exit ...