Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.001154/0.001154, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001363/0.001363, allocations: 169 kB / 23.27 MB, free: 1.219 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.9802/0.9802, allocations: 177.1 MB / 203.7 MB, free: 5.5 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.7584/0.7584, allocations: 154.6 MB / 414.8 MB, free: 0.5312 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.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.5208 GB, free: 1.895 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.393e-05/1.531e-05, allocations: 2.312 kB / 0.5208 GB, free: 1.891 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002051/0.002066, allocations: 1.883 MB / 0.5226 GB, free: 20 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003082/0.005148, allocations: 3.647 MB / 0.5262 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.153e-05/0.005229, allocations: 5.125 kB / 0.5262 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005914/0.005821, allocations: 176.3 kB / 0.5263 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001446/0.005965, allocations: 69.25 kB / 0.5264 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 7.708e-05/0.006042, allocations: 56.58 kB / 0.5265 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003372/0.00638, allocations: 290.9 kB / 0.5267 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.447e-05/0.006464, allocations: 17.8 kB / 0.5268 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.006574, allocations: 99.77 kB / 0.5269 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.077e-05/0.006664, allocations: 55.83 kB / 0.5269 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.006682, allocations: 8 kB / 0.5269 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.533e-05/0.006747, allocations: 27.97 kB / 0.5269 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.478e-05/0.006802, allocations: 61.58 kB / 0.527 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.18e-05/0.006854, allocations: 51.84 kB / 0.527 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.007022, allocations: 159.2 kB / 0.5272 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.007024, allocations: 0 / 0.5272 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.81e-07/0.007024, allocations: 1.688 kB / 0.5272 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.446e-06/0.007028, allocations: 0 / 0.5272 GB, free: 11.31 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005173/0.007545, allocations: 0.5461 MB / 0.5277 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.007583, allocations: 10.78 kB / 0.5277 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001958/0.007779, allocations: 56.75 kB / 0.5278 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001872/0.007966, allocations: 199.5 kB / 0.528 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.007976, allocations: 8.359 kB / 0.528 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.007986, allocations: 4.375 kB / 0.528 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.008141, allocations: 94.89 kB / 0.5281 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.008147, allocations: 192 / 0.5281 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.008158, allocations: 4.125 kB / 0.5281 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.916e-05/0.008188, allocations: 16.92 kB / 0.5281 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.631e-05/0.008244, allocations: 31.91 kB / 0.5281 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003725/0.008616, allocations: 345 kB / 0.5285 GB, free: 9.926 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.008723, allocations: 83.89 kB / 0.5286 GB, free: 9.832 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.532e-05/0.008768, allocations: 36.27 kB / 0.5286 GB, free: 9.793 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.00879, allocations: 8.188 kB / 0.5286 GB, free: 9.785 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.008813, allocations: 52.48 kB / 0.5286 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=13): time 1.342e-06/0.008814, allocations: 0 / 0.5286 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13): time 0.0001981/0.009012, allocations: 121.5 kB / 0.5288 GB, free: 9.602 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/0.009038, allocations: 55.41 kB / 0.5288 GB, free: 9.535 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.009178, allocations: 296.2 kB / 0.5291 GB, free: 9.234 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.009191, allocations: 25.7 kB / 0.5291 GB, free: 9.203 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.963e-05/0.00927, allocations: 202.7 kB / 0.5293 GB, free: 9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.009302, allocations: 42.77 kB / 0.5294 GB, free: 8.961 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.151e-05/0.009344, allocations: 31.36 kB / 0.5294 GB, free: 8.922 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.009472, allocations: 0.5157 MB / 0.5299 GB, free: 8.395 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.878e-05/0.009501, allocations: 11.98 kB / 0.5299 GB, free: 8.383 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.777e-05/0.009528, allocations: 15.98 kB / 0.5299 GB, free: 8.367 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.155e-05/0.0096, allocations: 58.72 kB / 0.53 GB, free: 8.309 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.009602, allocations: 0 / 0.53 GB, free: 8.309 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001232/0.009725, allocations: 108.4 kB / 0.5301 GB, free: 8.199 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.009738, allocations: 4 kB / 0.5301 GB, free: 8.195 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.009746, allocations: 0 / 0.5301 GB, free: 8.195 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/0.009755, allocations: 0 / 0.5301 GB, free: 8.195 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.009862, allocations: 39.91 kB / 0.5301 GB, free: 8.156 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.009865, allocations: 0 / 0.5301 GB, free: 8.156 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.952e-05/0.009914, allocations: 7.938 kB / 0.5301 GB, free: 8.148 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.009925, allocations: 11.95 kB / 0.5301 GB, free: 8.141 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 (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 7.105e-05/0.009996, allocations: 156.6 kB / 0.5303 GB, free: 7.977 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.054e-05/0.01003, allocations: 35.75 kB / 0.5303 GB, free: 7.941 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.536e-05/0.01006, allocations: 29.77 kB / 0.5303 GB, free: 7.914 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.01006, allocations: 0 / 0.5303 GB, free: 7.914 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.01006, allocations: 4 kB / 0.5303 GB, free: 7.91 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.01007, allocations: 0 / 0.5303 GB, free: 7.91 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.0102, allocations: 157.2 kB / 0.5305 GB, free: 7.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.0102, allocations: 0 / 0.5305 GB, free: 7.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.092e-05/0.01027, allocations: 34.38 kB / 0.5305 GB, free: 7.699 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.01027, allocations: 0 / 0.5305 GB, free: 7.699 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.01028, allocations: 3.938 kB / 0.5305 GB, free: 7.695 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.01028, allocations: 4 kB / 0.5305 GB, free: 7.691 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01028, allocations: 7.922 kB / 0.5305 GB, free: 7.684 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.01046, allocations: 263.8 kB / 0.5308 GB, free: 7.406 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.06e-05/0.0105, allocations: 32.58 kB / 0.5308 GB, free: 7.375 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.01052, allocations: 3.938 kB / 0.5308 GB, free: 7.371 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.476e-05/0.01058, allocations: 18.39 kB / 0.5309 GB, free: 7.355 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.221e-05/0.01061, allocations: 7.984 kB / 0.5309 GB, free: 7.348 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.01062, allocations: 11.98 kB / 0.5309 GB, free: 7.336 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.591e-05/0.01071, allocations: 193.1 kB / 0.5311 GB, free: 7.145 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01071, allocations: 0 / 0.5311 GB, free: 7.145 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001663/0.01088, allocations: 39.94 kB / 0.5311 GB, free: 7.105 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.000105/0.01098, allocations: 104.3 kB / 0.5312 GB, free: 6.996 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000114/0.0111, allocations: 69.94 kB / 0.5313 GB, free: 6.926 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.0111, allocations: 0 / 0.5313 GB, free: 6.926 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.665e-05/0.01114, allocations: 44.53 kB / 0.5313 GB, free: 6.879 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.01139, allocations: 48.44 kB / 0.5313 GB, free: 6.836 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007028/0.01209, allocations: 395.7 kB / 0.5317 GB, free: 6.422 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.949e-05/0.01215, allocations: 87.67 kB / 0.5318 GB, free: 6.316 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.236e-05/0.01222, allocations: 27.06 kB / 0.5318 GB, free: 6.297 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.01234, allocations: 118.1 kB / 0.5319 GB, free: 6.18 MB / 0.4948 GB Notification: Performance of SimCode: time 9.92e-07/0.01234, allocations: 2.312 kB / 0.5319 GB, free: 6.18 MB / 0.4948 GB Notification: Performance of Templates: time 0.00401/0.01635, allocations: 2.57 MB / 0.5345 GB, free: 3.789 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4961224012076855]