Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.0009495/0.0009495, allocations: 115 kB / 19.7 MB, free: 0.5234 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.001103/0.001103, allocations: 211.8 kB / 23 MB, free: 3.117 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.9416/0.9416, allocations: 230.6 MB / 256.8 MB, free: 3.43 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.7402/0.7402, allocations: 203.8 MB / 0.5049 GB, free: 0.6992 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: translateModel(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") [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.001001/0.001001, allocations: 67.91 kB / 0.7195 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4798/0.4808, allocations: 102 MB / 0.8191 GB, free: 25.18 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.00282/0.4836, allocations: 2.097 MB / 0.8211 GB, free: 23.73 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.004249/0.4879, allocations: 4.244 MB / 0.8253 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001439/0.488, allocations: 2.156 kB / 0.8253 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0008782/0.4889, allocations: 206.3 kB / 0.8255 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001191/0.489, allocations: 62.25 kB / 0.8255 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007361/0.4897, allocations: 309.5 kB / 0.8258 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0005677/0.4903, allocations: 390.6 kB / 0.8262 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.4904, allocations: 45.31 kB / 0.8262 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001671/0.4906, allocations: 116.2 kB / 0.8264 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.4907, allocations: 130.3 kB / 0.8265 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.78e-05/0.4908, allocations: 16.28 kB / 0.8265 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005068/0.4913, allocations: 342.2 kB / 0.8268 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.4914, allocations: 106.7 kB / 0.8269 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.4915, allocations: 150.8 kB / 0.8271 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0006354/0.4921, allocations: 0.5297 MB / 0.8276 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.4921, allocations: 0.6562 kB / 0.8276 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4921, allocations: 1.5 kB / 0.8276 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.4921, allocations: 0 / 0.8276 GB, free: 19.75 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009806/0.4931, allocations: 0.6935 MB / 0.8283 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.4932, allocations: 10.59 kB / 0.8283 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000608/0.4938, allocations: 161.8 kB / 0.8284 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004498/0.4942, allocations: 299.6 kB / 0.8287 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.4942, allocations: 7.75 kB / 0.8287 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.4943, allocations: 9.969 kB / 0.8287 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004007/0.4947, allocations: 217.3 kB / 0.8289 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.4947, allocations: 3.938 kB / 0.8289 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.4947, allocations: 5.703 kB / 0.829 GB, free: 18.9 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.4947, allocations: 2.062 kB / 0.829 GB, free: 18.9 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004583/0.4952, allocations: 255 kB / 0.8292 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008348/0.496, allocations: 0.575 MB / 0.8298 GB, free: 18.51 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002855/0.4963, allocations: 171.8 kB / 0.8299 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002281/0.4965, allocations: 140.4 kB / 0.8301 GB, free: 18.42 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.682e-05/0.4966, allocations: 21.16 kB / 0.8301 GB, free: 18.41 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.4966, allocations: 43.05 kB / 0.8301 GB, free: 18.36 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 2.194e-06/0.4966, allocations: 1.156 kB / 0.8301 GB, free: 18.36 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0007982/0.4974, allocations: 465.8 kB / 0.8306 GB, free: 18.23 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.339e-05/0.4974, allocations: 56.78 kB / 0.8306 GB, free: 18.17 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000363/0.4978, allocations: 425 kB / 0.831 GB, free: 17.97 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.4978, allocations: 26.8 kB / 0.831 GB, free: 17.94 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.767e-05/0.4979, allocations: 184.8 kB / 0.8312 GB, free: 17.78 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.052e-05/0.4979, allocations: 40.05 kB / 0.8313 GB, free: 17.75 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.701e-05/0.498, allocations: 44.36 kB / 0.8313 GB, free: 17.72 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.645e-05/0.498, allocations: 348.3 kB / 0.8316 GB, free: 17.39 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002681/0.4983, allocations: 181.4 kB / 0.8318 GB, free: 17.35 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/0.4986, allocations: 175 kB / 0.832 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005012/0.4991, allocations: 371.5 kB / 0.8323 GB, free: 17.2 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.4991, allocations: 0.6094 kB / 0.8323 GB, free: 17.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006168/0.4997, allocations: 490.5 kB / 0.8328 GB, free: 17.02 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.552e-05/0.4997, allocations: 41.72 kB / 0.8328 GB, free: 16.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.4997, allocations: 4 kB / 0.8328 GB, free: 16.99 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.4997, allocations: 2.109 kB / 0.8328 GB, free: 16.99 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000197/0.4999, allocations: 48.16 kB / 0.8329 GB, free: 16.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.4999, allocations: 6.016 kB / 0.8329 GB, free: 16.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.5001, allocations: 43.88 kB / 0.8329 GB, free: 16.96 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.5001, allocations: 6.203 kB / 0.8329 GB, free: 16.96 MB / 0.6355 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001106/0.5002, allocations: 154.7 kB / 0.8331 GB, free: 16.84 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.826e-05/0.5003, allocations: 35.58 kB / 0.8331 GB, free: 16.82 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006356/0.5009, allocations: 374.9 kB / 0.8335 GB, free: 16.69 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.5009, allocations: 4.859 kB / 0.8335 GB, free: 16.69 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.5009, allocations: 0 / 0.8335 GB, free: 16.69 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.5009, allocations: 6.266 kB / 0.8335 GB, free: 16.68 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003187/0.5012, allocations: 338.6 kB / 0.8338 GB, free: 16.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.5012, allocations: 0.7969 kB / 0.8338 GB, free: 16.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.5014, allocations: 45.69 kB / 0.8339 GB, free: 16.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.5014, allocations: 0 / 0.8339 GB, free: 16.45 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.5014, allocations: 4.297 kB / 0.8339 GB, free: 16.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.5014, allocations: 5.25 kB / 0.8339 GB, free: 16.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.5014, allocations: 3.938 kB / 0.8339 GB, free: 16.45 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005759/0.502, allocations: 442.1 kB / 0.8343 GB, free: 16.23 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.94e-05/0.5021, allocations: 55.25 kB / 0.8343 GB, free: 16.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.033e-05/0.5021, allocations: 2 kB / 0.8344 GB, free: 16.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.5023, allocations: 28.28 kB / 0.8344 GB, free: 16.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.007e-05/0.5023, allocations: 23.34 kB / 0.8344 GB, free: 16.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.5023, allocations: 5.344 kB / 0.8344 GB, free: 16.18 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002373/0.5026, allocations: 300.6 kB / 0.8347 GB, free: 16.04 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.5026, allocations: 0 / 0.8347 GB, free: 16.04 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005095/0.5031, allocations: 115.9 kB / 0.8348 GB, free: 16.02 MB / 0.6355 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 (11): * Single equations (assignments): 11 * 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.0002797/0.5034, allocations: 161.9 kB / 0.835 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006955/0.5041, allocations: 486.9 kB / 0.8354 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.5041, allocations: 1.375 kB / 0.8354 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002382/0.5043, allocations: 138.2 kB / 0.8356 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.5047, allocations: 68.08 kB / 0.8356 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008953/0.5056, allocations: 0.6905 MB / 0.8363 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001749/0.5057, allocations: 0.7907 MB / 0.8371 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.5058, allocations: 31.47 kB / 0.8371 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of SimCode: time 1.012e-06/0.5058, allocations: 0 / 0.8371 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of Templates: time 0.007706/0.5136, allocations: 5.037 MB / 0.842 GB, free: 14.11 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.617779998108745] Failed to read output from testmodel.py, exit status != 0: 0.5197141200769693 0.528533338 0.034569880000000004 Calling exit ...