Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.001358/0.001358, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.00134/0.00134, allocations: 173.4 kB / 24.06 MB, free: 452 kB / 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 1.007/1.007, allocations: 177.1 MB / 204.5 MB, free: 5.309 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.7573/0.7573, allocations: 154.6 MB / 415.6 MB, free: 480 kB / 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.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 0.5215 GB, free: 1.906 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.877e-05/2.052e-05, allocations: 4.422 kB / 0.5215 GB, free: 1.902 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002847/0.002868, allocations: 2.167 MB / 0.5236 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.004575/0.007443, allocations: 4.173 MB / 0.5277 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.007567, allocations: 7.938 kB / 0.5277 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006682/0.008235, allocations: 181.5 kB / 0.5279 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001407/0.008376, allocations: 85.31 kB / 0.528 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006909/0.009066, allocations: 333.6 kB / 0.5283 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0005346/0.009601, allocations: 469.2 kB / 0.5287 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.196e-05/0.009693, allocations: 28.92 kB / 0.5288 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001994/0.009892, allocations: 198.2 kB / 0.529 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.01003, allocations: 127.6 kB / 0.5291 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.751e-05/0.01006, allocations: 20 kB / 0.5291 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004148/0.01047, allocations: 327.4 kB / 0.5294 GB, free: 9.828 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.01058, allocations: 115.6 kB / 0.5295 GB, free: 9.715 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.038e-05/0.01067, allocations: 110 kB / 0.5296 GB, free: 9.609 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006567/0.01132, allocations: 0.5489 MB / 0.5302 GB, free: 9.059 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.01133, allocations: 4 kB / 0.5302 GB, free: 9.055 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.92e-07/0.01133, allocations: 0 / 0.5302 GB, free: 9.055 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.01133, allocations: 0 / 0.5302 GB, free: 9.055 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0008625/0.01219, allocations: 0.8133 MB / 0.531 GB, free: 8.199 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.01223, allocations: 8.031 kB / 0.531 GB, free: 8.191 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005154/0.01275, allocations: 156.6 kB / 0.5311 GB, free: 8.043 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.01303, allocations: 273.6 kB / 0.5314 GB, free: 7.758 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.01304, allocations: 12.56 kB / 0.5314 GB, free: 7.746 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.01306, allocations: 8.375 kB / 0.5314 GB, free: 7.738 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002623/0.01332, allocations: 164.3 kB / 0.5316 GB, free: 7.57 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.01333, allocations: 0 / 0.5316 GB, free: 7.57 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.01335, allocations: 4 kB / 0.5316 GB, free: 7.566 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.01336, allocations: 5.156 kB / 0.5316 GB, free: 7.562 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.01346, allocations: 59.94 kB / 0.5316 GB, free: 7.504 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006962/0.01416, allocations: 0.511 MB / 0.5321 GB, free: 6.969 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.01427, allocations: 69.25 kB / 0.5322 GB, free: 6.891 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.357e-05/0.01434, allocations: 54.72 kB / 0.5322 GB, free: 6.836 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.647e-05/0.01437, allocations: 21.11 kB / 0.5323 GB, free: 6.816 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.0144, allocations: 45.27 kB / 0.5323 GB, free: 6.762 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=13): time 1.873e-06/0.0144, allocations: 3.984 kB / 0.5323 GB, free: 6.758 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13): time 0.000294/0.01469, allocations: 174.5 kB / 0.5325 GB, free: 6.582 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.01472, allocations: 60.06 kB / 0.5325 GB, free: 6.512 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/0.01497, allocations: 455.2 kB / 0.533 GB, free: 6.055 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.015, allocations: 29.7 kB / 0.533 GB, free: 6.02 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.01512, allocations: 256.5 kB / 0.5332 GB, free: 5.762 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.411e-05/0.01515, allocations: 47.62 kB / 0.5333 GB, free: 5.715 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.908e-05/0.01522, allocations: 59.33 kB / 0.5333 GB, free: 5.648 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003848/0.0156, allocations: 0.5351 MB / 0.5339 GB, free: 5.102 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.804e-05/0.01569, allocations: 84.53 kB / 0.5339 GB, free: 5.016 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.43e-05/0.01578, allocations: 90.08 kB / 0.534 GB, free: 4.922 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.01593, allocations: 143.1 kB / 0.5342 GB, free: 4.773 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.01593, allocations: 0 / 0.5342 GB, free: 4.773 MB / 0.4948 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002834/0.01622, allocations: 304 kB / 0.5345 GB, free: 4.465 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.155e-05/0.01625, allocations: 41.69 kB / 0.5345 GB, free: 4.418 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.01625, allocations: 0 / 0.5345 GB, free: 4.418 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.01626, allocations: 4 kB / 0.5345 GB, free: 4.414 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/0.01643, allocations: 51.88 kB / 0.5346 GB, free: 4.363 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.01644, allocations: 6.188 kB / 0.5346 GB, free: 4.359 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.01656, allocations: 39.77 kB / 0.5346 GB, free: 4.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.01657, allocations: 7.984 kB / 0.5346 GB, free: 4.312 MB / 0.4948 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 (18): * Single equations (assignments): 17 * 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 9.002e-05/0.01666, allocations: 161.1 kB / 0.5348 GB, free: 4.145 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.498e-05/0.01672, allocations: 47.7 kB / 0.5348 GB, free: 4.098 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002349/0.01695, allocations: 175.8 kB / 0.535 GB, free: 3.926 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.01696, allocations: 0 / 0.535 GB, free: 3.926 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/0.01696, allocations: 4 kB / 0.535 GB, free: 3.922 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.01696, allocations: 1.281 kB / 0.535 GB, free: 3.922 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/0.01715, allocations: 209 kB / 0.5352 GB, free: 3.691 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.01715, allocations: 0 / 0.5352 GB, free: 3.691 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.01728, allocations: 44.59 kB / 0.5352 GB, free: 3.648 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.01728, allocations: 5.219 kB / 0.5352 GB, free: 3.645 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.0173, allocations: 7.938 kB / 0.5352 GB, free: 3.637 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.0173, allocations: 3.938 kB / 0.5352 GB, free: 3.633 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.0173, allocations: 1.281 kB / 0.5352 GB, free: 3.633 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002312/0.01753, allocations: 311.5 kB / 0.5355 GB, free: 3.309 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.057e-05/0.0176, allocations: 64.16 kB / 0.5356 GB, free: 3.246 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.943e-05/0.01763, allocations: 7.938 kB / 0.5356 GB, free: 3.238 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.01776, allocations: 21.91 kB / 0.5356 GB, free: 3.219 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.778e-05/0.01781, allocations: 19.97 kB / 0.5356 GB, free: 3.199 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.01782, allocations: 7.984 kB / 0.5356 GB, free: 3.191 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001393/0.01796, allocations: 283.6 kB / 0.5359 GB, free: 2.914 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01796, allocations: 0 / 0.5359 GB, free: 2.914 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000307/0.01826, allocations: 132.4 kB / 0.536 GB, free: 2.785 MB / 0.4948 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 (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 0.0002289/0.01849, allocations: 185.3 kB / 0.5362 GB, free: 2.598 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002693/0.01876, allocations: 251.7 kB / 0.5365 GB, free: 2.332 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01876, allocations: 0 / 0.5365 GB, free: 2.332 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.539e-05/0.01885, allocations: 72.25 kB / 0.5365 GB, free: 2.258 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.01915, allocations: 68.78 kB / 0.5366 GB, free: 2.191 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008347/0.01998, allocations: 0.5961 MB / 0.5372 GB, free: 1.57 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.941e-05/0.02004, allocations: 104.3 kB / 0.5373 GB, free: 1.449 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001321/0.02017, allocations: 42.78 kB / 0.5373 GB, free: 1.418 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001742/0.02035, allocations: 131 kB / 0.5374 GB, free: 1.289 MB / 0.4948 GB Notification: Performance of SimCode: time 8.51e-07/0.02035, allocations: 0 / 0.5374 GB, free: 1.289 MB / 0.4948 GB Notification: Performance of Templates: time 0.008454/0.0288, allocations: 6.332 MB / 0.5436 GB, free: 11.16 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.685816457029432]