Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.235/2.235, allocations: 252.6 MB / 265.2 MB, free: 5.625 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001507/0.001506, allocations: 192.4 kB / 324.5 MB, free: 14.35 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.997/1.997, allocations: 205.4 MB / 0.5754 GB, free: 10.47 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00125/0.001249, allocations: 93.95 kB / 0.6797 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.438e-05/3.456e-05, allocations: 4 kB / 0.7911 GB, free: 96.59 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.2124, allocations: 106.2 MB / 0.8949 GB, free: 6.258 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.137/1.349, allocations: 356.5 MB / 1.243 GB, free: 9.773 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/1.35, allocations: 91.86 kB / 1.243 GB, free: 9.723 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.6175/1.967, allocations: 11.41 MB / 1.254 GB, free: 305.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.623e-06/1.967, allocations: 0 / 1.254 GB, free: 305.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.216e-05/1.967, allocations: 3.812 kB / 1.254 GB, free: 305.9 MB / 0.8542 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.001852/1.969, allocations: 0.6053 MB / 1.255 GB, free: 305.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.584e-05/1.969, allocations: 10.2 kB / 1.255 GB, free: 305.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001339/1.971, allocations: 133.4 kB / 1.255 GB, free: 305.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001588/1.972, allocations: 339.2 kB / 1.255 GB, free: 305.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/1.972, allocations: 9.844 kB / 1.255 GB, free: 305.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.429e-05/1.972, allocations: 10.03 kB / 1.255 GB, free: 305.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005384/1.973, allocations: 152.9 kB / 1.255 GB, free: 305.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/1.973, allocations: 2.625 kB / 1.255 GB, free: 305.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.943e-05/1.973, allocations: 3.656 kB / 1.255 GB, free: 305.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.188e-06/1.973, allocations: 6.359 kB / 1.255 GB, free: 305.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005215/1.973, allocations: 146.3 kB / 1.256 GB, free: 305.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002211/1.976, allocations: 0.6002 MB / 1.256 GB, free: 304.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000333/1.976, allocations: 96.91 kB / 1.256 GB, free: 304.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002779/1.976, allocations: 87.31 kB / 1.256 GB, free: 304.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009141/1.977, allocations: 0.5162 MB / 1.257 GB, free: 304.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/1.977, allocations: 33.62 kB / 1.257 GB, free: 304.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 3.236e-06/1.977, allocations: 0.7969 kB / 1.257 GB, free: 304.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0008356/1.978, allocations: 204.1 kB / 1.257 GB, free: 304.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/1.978, allocations: 57.83 kB / 1.257 GB, free: 304.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003559/1.979, allocations: 233.4 kB / 1.257 GB, free: 304.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.381e-05/1.979, allocations: 30.14 kB / 1.257 GB, free: 304 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/1.979, allocations: 149.3 kB / 1.258 GB, free: 303.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.371e-05/1.979, allocations: 40.69 kB / 1.258 GB, free: 303.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/1.979, allocations: 3.938 kB / 1.258 GB, free: 303.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.948e-05/1.979, allocations: 341.5 kB / 1.258 GB, free: 303.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002635/1.979, allocations: 79.28 kB / 1.258 GB, free: 303.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002537/1.98, allocations: 76.53 kB / 1.258 GB, free: 303.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002888/1.98, allocations: 73.34 kB / 1.258 GB, free: 303.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/1.98, allocations: 1.219 kB / 1.258 GB, free: 303.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000727/1.981, allocations: 229.3 kB / 1.258 GB, free: 303.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/1.981, allocations: 6.625 kB / 1.258 GB, free: 303.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/1.981, allocations: 0.7031 kB / 1.258 GB, free: 303.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/1.981, allocations: 1.406 kB / 1.258 GB, free: 303.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008742/1.982, allocations: 84.06 kB / 1.258 GB, free: 303.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/1.982, allocations: 1.219 kB / 1.258 GB, free: 303.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006711/1.982, allocations: 66.69 kB / 1.258 GB, free: 303.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.674e-05/1.982, allocations: 5.953 kB / 1.259 GB, free: 303.5 MB / 0.8542 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001122/1.982, allocations: 116.5 kB / 1.259 GB, free: 303.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.216e-05/1.983, allocations: 22.83 kB / 1.259 GB, free: 303.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008261/1.983, allocations: 245.3 kB / 1.259 GB, free: 303.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/1.983, allocations: 2.438 kB / 1.259 GB, free: 303.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/1.983, allocations: 0.7031 kB / 1.259 GB, free: 303.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/1.983, allocations: 10.11 kB / 1.259 GB, free: 303.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005085/1.984, allocations: 309.2 kB / 1.259 GB, free: 303.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/1.984, allocations: 0 / 1.259 GB, free: 303.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007925/1.985, allocations: 77.11 kB / 1.259 GB, free: 303.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.166e-06/1.985, allocations: 0.7031 kB / 1.259 GB, free: 303.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.677e-05/1.985, allocations: 10.38 kB / 1.259 GB, free: 303.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/1.985, allocations: 1.75 kB / 1.259 GB, free: 303.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/1.985, allocations: 0.6562 kB / 1.259 GB, free: 303.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007226/1.986, allocations: 309.6 kB / 1.26 GB, free: 303 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001929/1.986, allocations: 119.9 kB / 1.26 GB, free: 302.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.871e-05/1.986, allocations: 5.438 kB / 1.26 GB, free: 302.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000688/1.987, allocations: 51.14 kB / 1.26 GB, free: 302.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/1.987, allocations: 15.2 kB / 1.26 GB, free: 302.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-05/1.987, allocations: 11.73 kB / 1.26 GB, free: 302.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002844/1.987, allocations: 185.2 kB / 1.26 GB, free: 302.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.3e-07/1.987, allocations: 0 / 1.26 GB, free: 302.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000654/1.988, allocations: 81.7 kB / 1.26 GB, free: 302.8 MB / 0.8542 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004707/1.988, allocations: 184.3 kB / 1.26 GB, free: 302.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007374/1.989, allocations: 190.4 kB / 1.26 GB, free: 302.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/1.989, allocations: 0 / 1.26 GB, free: 302.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003126/1.989, allocations: 92.39 kB / 1.26 GB, free: 302.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005319/1.99, allocations: 30.52 kB / 1.26 GB, free: 302.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/1.991, allocations: 300.3 kB / 1.261 GB, free: 302.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/1.991, allocations: 0.7569 MB / 1.262 GB, free: 301.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0005938/1.992, allocations: 53.55 kB / 1.262 GB, free: 301.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000184/1.992, allocations: 21.5 kB / 1.262 GB, free: 301.8 MB / 0.8542 GB Notification: Performance of SimCode: time 1.463e-06/1.992, allocations: 0 / 1.262 GB, free: 301.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.01429/2.007, allocations: 3.709 MB / 1.265 GB, free: 301.6 MB / 0.8542 GB