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.0009323/0.0009323, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0009709/0.0009709, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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.9074/0.9074, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.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.7105/0.7105, allocations: 154.5 MB / 414.5 MB, free: 0.8281 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.6193 GB, free: 13.22 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.686e-05/2.823e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002276/0.002304, allocations: 2 MB / 0.6212 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003534/0.005838, allocations: 3.884 MB / 0.625 GB, free: 7.285 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.433e-05/0.005933, allocations: 7.938 kB / 0.625 GB, free: 7.277 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0006425/0.006575, allocations: 187 kB / 0.6252 GB, free: 7.094 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.56e-05/0.006661, allocations: 67.41 kB / 0.6253 GB, free: 7.027 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004695/0.00713, allocations: 307.1 kB / 0.6256 GB, free: 6.727 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0004485/0.007579, allocations: 405.3 kB / 0.626 GB, free: 6.332 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.274e-05/0.007671, allocations: 28.58 kB / 0.626 GB, free: 6.305 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.007806, allocations: 155.7 kB / 0.6261 GB, free: 6.152 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.007912, allocations: 111.7 kB / 0.6262 GB, free: 6.043 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.673e-05/0.007939, allocations: 19.94 kB / 0.6263 GB, free: 6.023 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003267/0.008265, allocations: 307.5 kB / 0.6266 GB, free: 5.723 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 8.385e-05/0.008349, allocations: 107.7 kB / 0.6267 GB, free: 5.617 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 7.235e-05/0.008422, allocations: 91.7 kB / 0.6267 GB, free: 5.527 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004748/0.008896, allocations: 0.5802 MB / 0.6273 GB, free: 4.945 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.008899, allocations: 0 / 0.6273 GB, free: 4.945 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.252e-06/0.0089, allocations: 3.938 kB / 0.6273 GB, free: 4.941 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.008905, allocations: 4 kB / 0.6273 GB, free: 4.938 MB / 0.5886 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.0008175/0.009723, allocations: 0.6885 MB / 0.628 GB, free: 4.211 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.009757, allocations: 9.469 kB / 0.628 GB, free: 4.203 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005222/0.01028, allocations: 160.5 kB / 0.6281 GB, free: 4.047 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004032/0.01068, allocations: 300 kB / 0.6284 GB, free: 3.73 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.0107, allocations: 8.375 kB / 0.6284 GB, free: 3.723 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.01072, allocations: 4.375 kB / 0.6284 GB, free: 3.719 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003242/0.01104, allocations: 216.5 kB / 0.6287 GB, free: 3.504 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.01105, allocations: 4.188 kB / 0.6287 GB, free: 3.5 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.01107, allocations: 8.125 kB / 0.6287 GB, free: 3.492 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.01107, allocations: 0 / 0.6287 GB, free: 3.492 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006522/0.01172, allocations: 255.8 kB / 0.6289 GB, free: 3.242 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006255/0.01235, allocations: 0.5272 MB / 0.6294 GB, free: 2.684 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002431/0.01259, allocations: 174.5 kB / 0.6296 GB, free: 2.504 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001889/0.01278, allocations: 136.8 kB / 0.6297 GB, free: 2.367 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.286e-05/0.01282, allocations: 15.98 kB / 0.6297 GB, free: 2.352 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.01285, allocations: 42.55 kB / 0.6298 GB, free: 2.301 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 1.392e-06/0.01285, allocations: 0 / 0.6298 GB, free: 2.301 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.000711/0.01356, allocations: 473.3 kB / 0.6302 GB, free: 1.832 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/0.01359, allocations: 55.41 kB / 0.6303 GB, free: 1.766 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000265/0.01385, allocations: 417.9 kB / 0.6307 GB, free: 1.355 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.01387, allocations: 25.7 kB / 0.6307 GB, free: 1.324 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.142e-05/0.01396, allocations: 184 kB / 0.6309 GB, free: 1.141 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.01399, allocations: 39.64 kB / 0.6309 GB, free: 1.102 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.614e-05/0.01405, allocations: 45.69 kB / 0.631 GB, free: 1.051 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.849e-05/0.01413, allocations: 350.7 kB / 0.6313 GB, free: 0.6992 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002365/0.01437, allocations: 217.6 kB / 0.6315 GB, free: 492 kB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002234/0.01459, allocations: 213.6 kB / 0.6317 GB, free: 272 kB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004416/0.01504, allocations: 377.4 kB / 0.6321 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01504, allocations: 0 / 0.6321 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005426/0.01558, allocations: 0.5278 MB / 0.6326 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.702e-05/0.01562, allocations: 45.69 kB / 0.6326 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.279e-06/0.01562, allocations: 0 / 0.6326 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.01563, allocations: 4 kB / 0.6326 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.0158, allocations: 43.94 kB / 0.6327 GB, free: 15.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.0158, allocations: 3.938 kB / 0.6327 GB, free: 15.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/0.01593, allocations: 47.84 kB / 0.6327 GB, free: 15.19 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.01594, allocations: 4 kB / 0.6327 GB, free: 15.19 MB / 0.6042 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.000107/0.01605, allocations: 162.7 kB / 0.6329 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.569e-05/0.01609, allocations: 39.72 kB / 0.6329 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000531/0.01662, allocations: 372.7 kB / 0.6333 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.01662, allocations: 3.938 kB / 0.6333 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.01662, allocations: 0 / 0.6333 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.01663, allocations: 0 / 0.6333 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002081/0.01683, allocations: 273 kB / 0.6335 GB, free: 14.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.01684, allocations: 4 kB / 0.6335 GB, free: 14.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001357/0.01697, allocations: 43.94 kB / 0.6336 GB, free: 14.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.01697, allocations: 7.938 kB / 0.6336 GB, free: 14.26 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.01699, allocations: 11.92 kB / 0.6336 GB, free: 14.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01699, allocations: 0 / 0.6336 GB, free: 14.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.01699, allocations: 0 / 0.6336 GB, free: 14.25 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004653/0.01746, allocations: 437.4 kB / 0.634 GB, free: 13.81 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.338e-05/0.01753, allocations: 55.69 kB / 0.6341 GB, free: 13.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.01755, allocations: 0 / 0.6341 GB, free: 13.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.01768, allocations: 31.95 kB / 0.6341 GB, free: 13.72 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.026e-05/0.01773, allocations: 15.98 kB / 0.6341 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.01774, allocations: 7.984 kB / 0.6341 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001904/0.01793, allocations: 295.1 kB / 0.6344 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7e-08/0.01793, allocations: 0 / 0.6344 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002829/0.01821, allocations: 115.8 kB / 0.6345 GB, free: 13.3 MB / 0.6042 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.0002436/0.01846, allocations: 186.9 kB / 0.6347 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005595/0.01902, allocations: 472.8 kB / 0.6351 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.01902, allocations: 0 / 0.6351 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002061/0.01922, allocations: 151.8 kB / 0.6353 GB, free: 12.47 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.01954, allocations: 61.48 kB / 0.6354 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009787/0.02052, allocations: 0.6626 MB / 0.636 GB, free: 11.71 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.02062, allocations: 175.2 kB / 0.6362 GB, free: 11.52 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.139e-05/0.02071, allocations: 36.47 kB / 0.6362 GB, free: 11.49 MB / 0.6042 GB Notification: Performance of SimCode: time 8.42e-07/0.02072, allocations: 0 / 0.6362 GB, free: 11.49 MB / 0.6042 GB Notification: Performance of Templates: time 0.004788/0.0255, allocations: 5.189 MB / 0.6413 GB, free: 6.336 MB / 0.6042 GB " [Timeout remaining time 660] 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: 5.752542205154896] Failed to read output from testmodel.py, exit status != 0: 0.03185414336621761 0.040715655 0.030146825000000002 Calling exit ...