Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001187/0.001187, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 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.001264/0.001264, allocations: 169 kB / 23.02 MB, free: 1.551 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.9586/0.9586, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.7458/0.7458, allocations: 154.6 MB / 414.5 MB, free: 0.668 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.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.5203 GB, free: 1.113 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.928e-05/3.112e-05, allocations: 4.141 kB / 0.5203 GB, free: 1.109 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.00301/0.003041, allocations: 2.077 MB / 0.5223 GB, free: 15.04 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.005021/0.008063, allocations: 4.179 MB / 0.5264 GB, free: 10.86 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001735/0.008236, allocations: 11.41 kB / 0.5264 GB, free: 10.85 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001074/0.00931, allocations: 183 kB / 0.5266 GB, free: 10.67 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001453/0.009455, allocations: 65.06 kB / 0.5267 GB, free: 10.61 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006628/0.01012, allocations: 311.4 kB / 0.527 GB, free: 10.31 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005433/0.01066, allocations: 404.5 kB / 0.5274 GB, free: 9.914 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.01077, allocations: 32.56 kB / 0.5274 GB, free: 9.879 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001715/0.01094, allocations: 147.7 kB / 0.5275 GB, free: 9.734 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.01107, allocations: 114.4 kB / 0.5276 GB, free: 9.625 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.811e-05/0.0111, allocations: 16 kB / 0.5277 GB, free: 9.609 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004109/0.01151, allocations: 319.4 kB / 0.528 GB, free: 9.297 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 9.895e-05/0.01161, allocations: 103.7 kB / 0.5281 GB, free: 9.195 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 9.069e-05/0.0117, allocations: 91.75 kB / 0.5281 GB, free: 9.105 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005688/0.01227, allocations: 0.4945 MB / 0.5286 GB, free: 8.609 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.01227, allocations: 4 kB / 0.5286 GB, free: 8.605 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.01228, allocations: 1.781 kB / 0.5286 GB, free: 8.605 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.01228, allocations: 0 / 0.5286 GB, free: 8.605 MB / 458.7 MB 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.0008334/0.01312, allocations: 0.7699 MB / 0.5294 GB, free: 7.793 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.01316, allocations: 12.8 kB / 0.5294 GB, free: 7.781 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002464/0.0134, allocations: 73.89 kB / 0.5295 GB, free: 7.711 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003586/0.01376, allocations: 293.7 kB / 0.5298 GB, free: 7.402 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.01377, allocations: 4.375 kB / 0.5298 GB, free: 7.398 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.01379, allocations: 16.3 kB / 0.5298 GB, free: 7.383 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002388/0.01403, allocations: 136.7 kB / 0.5299 GB, free: 7.246 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.01404, allocations: 192 / 0.5299 GB, free: 7.246 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.01406, allocations: 4.125 kB / 0.5299 GB, free: 7.242 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.01406, allocations: 4 kB / 0.5299 GB, free: 7.238 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.01417, allocations: 43.89 kB / 0.53 GB, free: 7.195 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006168/0.01478, allocations: 0.4945 MB / 0.5304 GB, free: 6.668 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.885e-05/0.01488, allocations: 54.98 kB / 0.5305 GB, free: 6.602 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.842e-05/0.01495, allocations: 31.67 kB / 0.5305 GB, free: 6.566 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.026e-05/0.015, allocations: 23.98 kB / 0.5305 GB, free: 6.543 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.01503, allocations: 37.39 kB / 0.5306 GB, free: 6.496 MB / 458.7 MB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.01503, allocations: 0 / 0.5306 GB, free: 6.496 MB / 458.7 MB Notification: Performance of matching and sorting (n=11): time 0.000336/0.01536, allocations: 156.5 kB / 0.5307 GB, free: 6.344 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.01539, allocations: 55.34 kB / 0.5308 GB, free: 6.277 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002903/0.01568, allocations: 438.7 kB / 0.5312 GB, free: 5.836 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.0157, allocations: 25.7 kB / 0.5312 GB, free: 5.805 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.01582, allocations: 234.7 kB / 0.5314 GB, free: 5.57 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.283e-05/0.01585, allocations: 43.67 kB / 0.5315 GB, free: 5.527 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.576e-05/0.01591, allocations: 51.34 kB / 0.5315 GB, free: 5.469 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.01606, allocations: 0.5313 MB / 0.5321 GB, free: 4.926 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.111e-05/0.01615, allocations: 61.69 kB / 0.5321 GB, free: 4.859 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.971e-05/0.01622, allocations: 65.25 kB / 0.5322 GB, free: 4.793 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.01636, allocations: 111.6 kB / 0.5323 GB, free: 4.676 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.01636, allocations: 0 / 0.5323 GB, free: 4.676 MB / 458.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002526/0.01662, allocations: 249.5 kB / 0.5325 GB, free: 4.414 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.316e-05/0.01666, allocations: 45.69 kB / 0.5326 GB, free: 4.363 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.01666, allocations: 0 / 0.5326 GB, free: 4.363 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.01668, allocations: 0.5938 kB / 0.5326 GB, free: 4.363 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.01683, allocations: 34.38 kB / 0.5326 GB, free: 4.332 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.01684, allocations: 3.984 kB / 0.5326 GB, free: 4.328 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.844e-05/0.01692, allocations: 23.88 kB / 0.5326 GB, free: 4.305 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.01694, allocations: 8 kB / 0.5326 GB, free: 4.297 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 (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 8.906e-05/0.01703, allocations: 161.4 kB / 0.5328 GB, free: 4.129 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.172e-05/0.01707, allocations: 43.77 kB / 0.5328 GB, free: 4.086 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002379/0.01731, allocations: 146.6 kB / 0.533 GB, free: 3.938 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.01731, allocations: 0 / 0.533 GB, free: 3.938 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.01731, allocations: 0 / 0.533 GB, free: 3.938 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.01732, allocations: 0.7812 kB / 0.533 GB, free: 3.938 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.01753, allocations: 260.3 kB / 0.5332 GB, free: 3.648 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.01753, allocations: 4 kB / 0.5332 GB, free: 3.645 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.01763, allocations: 33.27 kB / 0.5332 GB, free: 3.613 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.01763, allocations: 4 kB / 0.5333 GB, free: 3.609 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.01764, allocations: 0.5312 kB / 0.5333 GB, free: 3.609 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.01765, allocations: 3.984 kB / 0.5333 GB, free: 3.605 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.01765, allocations: 1.5 kB / 0.5333 GB, free: 3.605 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.01787, allocations: 283.5 kB / 0.5335 GB, free: 3.309 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.61e-05/0.01795, allocations: 47.73 kB / 0.5336 GB, free: 3.262 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.01797, allocations: 5.125 kB / 0.5336 GB, free: 3.258 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.121e-05/0.01807, allocations: 19.98 kB / 0.5336 GB, free: 3.238 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.716e-05/0.01812, allocations: 20.97 kB / 0.5336 GB, free: 3.219 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.01813, allocations: 7.984 kB / 0.5336 GB, free: 3.211 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001805/0.01831, allocations: 283.1 kB / 0.5339 GB, free: 2.934 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01831, allocations: 1 kB / 0.5339 GB, free: 2.934 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003344/0.01865, allocations: 115.8 kB / 0.534 GB, free: 2.82 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 (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.0003035/0.01895, allocations: 186.9 kB / 0.5342 GB, free: 2.629 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003192/0.01927, allocations: 213.5 kB / 0.5344 GB, free: 2.398 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.01927, allocations: 0 / 0.5344 GB, free: 2.398 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 7.32e-05/0.01934, allocations: 52.2 kB / 0.5344 GB, free: 2.348 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.01967, allocations: 74.52 kB / 0.5345 GB, free: 2.277 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009484/0.02062, allocations: 0.5496 MB / 0.535 GB, free: 1.703 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.02076, allocations: 103.9 kB / 0.5351 GB, free: 1.582 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001071/0.02086, allocations: 44.48 kB / 0.5352 GB, free: 1.547 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.471e-05/0.02093, allocations: 24.48 kB / 0.5352 GB, free: 1.523 MB / 458.7 MB Notification: Performance of SimCode: time 8.52e-07/0.02093, allocations: 2.375 kB / 0.5352 GB, free: 1.523 MB / 458.7 MB Notification: Performance of Templates: time 0.007212/0.02814, allocations: 5.126 MB / 0.5402 GB, free: 12.62 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9319151188246906]