Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.0009303/0.0009303, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.0009266/0.0009266, allocations: 181 kB / 23.36 MB, free: 1.133 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.9214/0.9214, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7343/0.7343, allocations: 154.6 MB / 414.8 MB, free: 0.5117 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 480 MB, free: 6.891 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.583e-05/1.749e-05, allocations: 2.312 kB / 480 MB, free: 6.887 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002425/0.002442, allocations: 1.929 MB / 481.9 MB, free: 4.984 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00327/0.005712, allocations: 3.739 MB / 485.7 MB, free: 1.27 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.938e-05/0.005781, allocations: 0 / 485.7 MB, free: 1.27 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005701/0.006352, allocations: 189.5 kB / 485.8 MB, free: 1.086 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001387/0.00649, allocations: 88.58 kB / 485.9 MB, free: 1 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.49e-05/0.006565, allocations: 57.03 kB / 486 MB, free: 0.9453 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003254/0.006891, allocations: 273.2 kB / 486.3 MB, free: 0.6797 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.789e-05/0.006968, allocations: 30.38 kB / 486.3 MB, free: 0.6484 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.007084, allocations: 109.4 kB / 486.4 MB, free: 0.543 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.73e-05/0.007171, allocations: 63.8 kB / 486.5 MB, free: 492 kB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.007186, allocations: 8 kB / 486.5 MB, free: 484 kB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.13e-05/0.007247, allocations: 28.83 kB / 486.5 MB, free: 456 kB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.349e-05/0.007301, allocations: 59.78 kB / 486.5 MB, free: 396 kB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.286e-05/0.007343, allocations: 51.84 kB / 486.6 MB, free: 344 kB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.007505, allocations: 160.3 kB / 486.8 MB, free: 184 kB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.007507, allocations: 0 / 486.8 MB, free: 184 kB / 442.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.007507, allocations: 1.312 kB / 486.8 MB, free: 184 kB / 442.7 MB Notification: Performance of Transformations before backend: time 3.135e-06/0.00751, allocations: 0 / 486.8 MB, free: 184 kB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0004333/0.007944, allocations: 428.1 kB / 487.2 MB, free: 15.74 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.911e-05/0.007973, allocations: 12.03 kB / 487.2 MB, free: 15.73 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001691/0.008142, allocations: 58.23 kB / 487.2 MB, free: 15.67 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.008296, allocations: 195.6 kB / 487.4 MB, free: 15.46 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.116e-06/0.008304, allocations: 4.375 kB / 487.4 MB, free: 15.46 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.008317, allocations: 1.312 kB / 487.4 MB, free: 15.46 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.008462, allocations: 106.3 kB / 487.5 MB, free: 15.34 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.008467, allocations: 2 kB / 487.5 MB, free: 15.34 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.008478, allocations: 8.109 kB / 487.6 MB, free: 15.34 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.427e-05/0.008502, allocations: 15.91 kB / 487.6 MB, free: 15.32 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.269e-05/0.008555, allocations: 19.98 kB / 487.6 MB, free: 15.3 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005537/0.009109, allocations: 250.6 kB / 487.8 MB, free: 15.04 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.517e-05/0.009194, allocations: 64.53 kB / 487.9 MB, free: 14.97 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.328e-05/0.009237, allocations: 38.33 kB / 487.9 MB, free: 14.93 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.009248, allocations: 3.938 kB / 487.9 MB, free: 14.93 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.77e-05/0.009266, allocations: 39.19 kB / 488 MB, free: 14.88 MB / 458.7 MB Notification: Performance of pre-optimization done (n=13): time 1.162e-06/0.009267, allocations: 3.938 kB / 488 MB, free: 14.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001627/0.00943, allocations: 104.9 kB / 488.1 MB, free: 14.77 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/0.009454, allocations: 52.84 kB / 488.1 MB, free: 14.71 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.009565, allocations: 231 kB / 488.4 MB, free: 14.47 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.009578, allocations: 25.7 kB / 488.4 MB, free: 14.44 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.087e-05/0.009619, allocations: 121.6 kB / 488.5 MB, free: 14.32 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.911e-05/0.009648, allocations: 39.64 kB / 488.5 MB, free: 14.28 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.758e-05/0.009685, allocations: 25.7 kB / 488.6 MB, free: 14.25 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.457e-05/0.00976, allocations: 339.9 kB / 488.9 MB, free: 13.91 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.596e-05/0.009786, allocations: 11.98 kB / 488.9 MB, free: 13.9 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.565e-05/0.009812, allocations: 12.84 kB / 488.9 MB, free: 13.89 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.584e-05/0.009878, allocations: 59.19 kB / 489 MB, free: 13.83 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.009879, allocations: 0.5938 kB / 489 MB, free: 13.83 MB / 458.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 9.582e-05/0.009975, allocations: 83.62 kB / 489.1 MB, free: 13.74 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.869e-06/0.009985, allocations: 4 kB / 489.1 MB, free: 13.74 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.009988, allocations: 0 / 489.1 MB, free: 13.74 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.118e-06/0.009998, allocations: 0 / 489.1 MB, free: 13.74 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.0101, allocations: 31.97 kB / 489.1 MB, free: 13.71 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.436e-06/0.0101, allocations: 8.812 kB / 489.1 MB, free: 13.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.232e-05/0.01016, allocations: 15.89 kB / 489.1 MB, free: 13.68 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.01016, allocations: 5.453 kB / 489.1 MB, free: 13.68 MB / 458.7 MB 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 (13): * Single equations (assignments): 13 * 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.555e-05/0.01023, allocations: 116.7 kB / 489.2 MB, free: 13.55 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.01026, allocations: 23.92 kB / 489.3 MB, free: 13.53 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.647e-05/0.0103, allocations: 26.55 kB / 489.3 MB, free: 13.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.01031, allocations: 4 kB / 489.3 MB, free: 13.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.01031, allocations: 1.875 kB / 489.3 MB, free: 13.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.01031, allocations: 0 / 489.3 MB, free: 13.5 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.0105, allocations: 125.8 kB / 489.4 MB, free: 13.36 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.0105, allocations: 0.6094 kB / 489.4 MB, free: 13.36 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.159e-05/0.01059, allocations: 28.5 kB / 489.4 MB, free: 13.33 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.01059, allocations: 3.938 kB / 489.5 MB, free: 13.33 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.0106, allocations: 4.594 kB / 489.5 MB, free: 13.32 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.01061, allocations: 8.469 kB / 489.5 MB, free: 13.32 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.01061, allocations: 0 / 489.5 MB, free: 13.32 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.01073, allocations: 181.7 kB / 489.6 MB, free: 13.12 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.119e-05/0.01078, allocations: 35.78 kB / 489.7 MB, free: 13.09 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.01079, allocations: 0 / 489.7 MB, free: 13.09 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.74e-05/0.01086, allocations: 13.02 kB / 489.7 MB, free: 13.08 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.352e-05/0.01089, allocations: 11.97 kB / 489.7 MB, free: 13.07 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.423e-06/0.0109, allocations: 4.719 kB / 489.7 MB, free: 13.06 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.306e-05/0.01095, allocations: 84.64 kB / 489.8 MB, free: 12.98 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01095, allocations: 0.625 kB / 489.8 MB, free: 12.98 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001458/0.0111, allocations: 41.77 kB / 489.8 MB, free: 12.94 MB / 458.7 MB 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 (13): * Single equations (assignments): 13 * 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 9.357e-05/0.01119, allocations: 92.28 kB / 489.9 MB, free: 12.84 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001041/0.0113, allocations: 56.83 kB / 490 MB, free: 12.78 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.0113, allocations: 0.5625 kB / 490 MB, free: 12.78 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.385e-05/0.01134, allocations: 48.05 kB / 490 MB, free: 12.73 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.01155, allocations: 51.09 kB / 490.1 MB, free: 12.68 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006083/0.01216, allocations: 413 kB / 490.5 MB, free: 12.25 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.299e-05/0.01221, allocations: 96.7 kB / 490.6 MB, free: 12.14 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.84e-05/0.01228, allocations: 25.23 kB / 490.6 MB, free: 12.12 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.01239, allocations: 91.34 kB / 490.7 MB, free: 12.04 MB / 458.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01239, allocations: 0 / 490.7 MB, free: 12.04 MB / 458.7 MB Notification: Performance of Templates: time 0.003929/0.01632, allocations: 2.743 MB / 493.4 MB, free: 9.512 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.498077216092497]