Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00168/0.00168, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00268/0.00268, allocations: 192.2 kB / 16.13 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.768/1.768, allocations: 205.1 MB / 222 MB, free: 4.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.469/1.469, allocations: 251.6 MB / 0.5088 GB, free: 3.266 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 63.92 kB / 0.6216 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5133/0.5148, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002999/0.5179, allocations: 1.966 MB / 0.7257 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003539/0.5214, allocations: 3.427 MB / 0.7291 GB, free: 7.738 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.105e-05/0.5215, allocations: 7.938 kB / 0.7291 GB, free: 7.73 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002372/0.5218, allocations: 51.73 kB / 0.7291 GB, free: 7.68 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000358/0.5222, allocations: 115.4 kB / 0.7292 GB, free: 7.566 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 6.451e-05/0.5222, allocations: 23.97 kB / 0.7293 GB, free: 7.543 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001893/0.5224, allocations: 175.2 kB / 0.7294 GB, free: 7.371 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.719e-05/0.5225, allocations: 29.67 kB / 0.7295 GB, free: 7.344 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.5227, allocations: 75.64 kB / 0.7295 GB, free: 7.27 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001307/0.5228, allocations: 75.62 kB / 0.7296 GB, free: 7.195 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.464e-05/0.5229, allocations: 12 kB / 0.7296 GB, free: 7.184 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.044e-05/0.523, allocations: 27.91 kB / 0.7296 GB, free: 7.156 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.861e-05/0.523, allocations: 39.83 kB / 0.7297 GB, free: 7.117 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.806e-05/0.5231, allocations: 63.55 kB / 0.7297 GB, free: 7.055 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.5233, allocations: 155.4 kB / 0.7299 GB, free: 6.902 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.5233, allocations: 0 / 0.7299 GB, free: 6.902 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.31e-07/0.5233, allocations: 0 / 0.7299 GB, free: 6.902 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.5233, allocations: 0 / 0.7299 GB, free: 6.902 MB / 0.545 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.0008019/0.5241, allocations: 0.5022 MB / 0.7304 GB, free: 6.352 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.5242, allocations: 12.03 kB / 0.7304 GB, free: 6.34 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.877e-05/0.5242, allocations: 20.69 kB / 0.7304 GB, free: 6.32 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003343/0.5246, allocations: 242.8 kB / 0.7306 GB, free: 6.043 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-06/0.5246, allocations: 8.375 kB / 0.7306 GB, free: 6.035 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.5246, allocations: 384 / 0.7306 GB, free: 6.035 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003315/0.5249, allocations: 141.7 kB / 0.7308 GB, free: 5.891 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.525, allocations: 0 / 0.7308 GB, free: 5.891 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.525, allocations: 4 kB / 0.7308 GB, free: 5.887 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.808e-05/0.525, allocations: 11.98 kB / 0.7308 GB, free: 5.875 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003996/0.5254, allocations: 145.4 kB / 0.7309 GB, free: 5.734 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006672/0.5261, allocations: 440.5 kB / 0.7314 GB, free: 5.254 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000384/0.5265, allocations: 162.5 kB / 0.7315 GB, free: 5.086 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002476/0.5267, allocations: 100.8 kB / 0.7316 GB, free: 4.984 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.5268, allocations: 0 / 0.7316 GB, free: 4.984 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.5268, allocations: 42.73 kB / 0.7316 GB, free: 4.934 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.082e-06/0.5268, allocations: 0 / 0.7316 GB, free: 4.934 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0007697/0.5276, allocations: 284.8 kB / 0.7319 GB, free: 4.652 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.5276, allocations: 51.41 kB / 0.732 GB, free: 4.59 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/0.5278, allocations: 209 kB / 0.7322 GB, free: 4.375 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.5279, allocations: 33.7 kB / 0.7322 GB, free: 4.336 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.528, allocations: 124 kB / 0.7323 GB, free: 4.211 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.881e-05/0.5281, allocations: 39.39 kB / 0.7324 GB, free: 4.172 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.718e-05/0.5281, allocations: 33.64 kB / 0.7324 GB, free: 4.133 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.5283, allocations: 334.8 kB / 0.7327 GB, free: 3.797 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002209/0.5285, allocations: 67.94 kB / 0.7328 GB, free: 3.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000194/0.5287, allocations: 79.88 kB / 0.7328 GB, free: 3.652 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004028/0.5291, allocations: 156.7 kB / 0.733 GB, free: 3.496 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.5291, allocations: 0 / 0.733 GB, free: 3.496 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004743/0.5296, allocations: 211.9 kB / 0.7332 GB, free: 3.285 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.5296, allocations: 7.984 kB / 0.7332 GB, free: 3.277 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.5296, allocations: 0 / 0.7332 GB, free: 3.277 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.5297, allocations: 0 / 0.7332 GB, free: 3.277 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002296/0.5299, allocations: 35.91 kB / 0.7332 GB, free: 3.242 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.5299, allocations: 4 kB / 0.7332 GB, free: 3.238 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.53, allocations: 11.98 kB / 0.7333 GB, free: 3.227 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.5301, allocations: 11.98 kB / 0.7333 GB, free: 3.215 MB / 0.545 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 0.0001143/0.5302, allocations: 129.8 kB / 0.7334 GB, free: 3.078 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.54e-05/0.5302, allocations: 23.72 kB / 0.7334 GB, free: 3.055 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.562e-05/0.5303, allocations: 25.83 kB / 0.7334 GB, free: 3.023 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.5303, allocations: 0 / 0.7334 GB, free: 3.023 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.5303, allocations: 0 / 0.7334 GB, free: 3.023 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.5303, allocations: 4 kB / 0.7334 GB, free: 3.02 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002647/0.5306, allocations: 261.5 kB / 0.7337 GB, free: 2.715 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.5306, allocations: 3.938 kB / 0.7337 GB, free: 2.711 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002003/0.5308, allocations: 35.91 kB / 0.7337 GB, free: 2.676 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.5308, allocations: 0 / 0.7337 GB, free: 2.676 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.477e-05/0.5309, allocations: 3.984 kB / 0.7337 GB, free: 2.672 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.5309, allocations: 4 kB / 0.7337 GB, free: 2.668 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5309, allocations: 0 / 0.7337 GB, free: 2.668 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005296/0.5314, allocations: 315.1 kB / 0.734 GB, free: 2.344 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.541e-05/0.5315, allocations: 104.8 kB / 0.7341 GB, free: 2.223 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.525e-05/0.5315, allocations: 11.98 kB / 0.7341 GB, free: 2.211 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.5317, allocations: 11.98 kB / 0.7342 GB, free: 2.199 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.186e-05/0.5318, allocations: 15.98 kB / 0.7342 GB, free: 2.184 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.5318, allocations: 0 / 0.7342 GB, free: 2.184 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001231/0.5319, allocations: 156.5 kB / 0.7343 GB, free: 2.031 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.11e-07/0.5319, allocations: 0 / 0.7343 GB, free: 2.031 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002704/0.5322, allocations: 39.94 kB / 0.7344 GB, free: 1.992 MB / 0.545 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.0001728/0.5324, allocations: 107.1 kB / 0.7345 GB, free: 1.879 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004868/0.5329, allocations: 167.9 kB / 0.7346 GB, free: 1.715 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5329, allocations: 0 / 0.7346 GB, free: 1.715 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002222/0.5331, allocations: 95.86 kB / 0.7347 GB, free: 1.621 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004334/0.5336, allocations: 29.22 kB / 0.7347 GB, free: 1.594 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008285/0.5344, allocations: 452.3 kB / 0.7352 GB, free: 1.129 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.5348, allocations: 0.7316 MB / 0.7359 GB, free: 380 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001925/0.535, allocations: 52.58 kB / 0.7359 GB, free: 328 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.146e-05/0.535, allocations: 23.42 kB / 0.736 GB, free: 304 kB / 0.545 GB Notification: Performance of SimCode: time 5.71e-07/0.535, allocations: 0 / 0.736 GB, free: 304 kB / 0.545 GB Notification: Performance of Templates: time 0.004439/0.5395, allocations: 1.559 MB / 0.7375 GB, free: 14.77 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1)