Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.207/2.207, allocations: 252.6 MB / 265.2 MB, free: 5.621 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.001511/0.001511, allocations: 186.7 kB / 324.5 MB, free: 14.32 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.956/1.956, allocations: 205.4 MB / 0.5753 GB, free: 10.43 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.001138/0.001138, allocations: 95.41 kB / 0.6797 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.921e-05/3.939e-05, allocations: 7.938 kB / 0.7911 GB, free: 96.56 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.199, allocations: 106.2 MB / 0.8949 GB, free: 6.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.139/1.338, allocations: 355.8 MB / 1.242 GB, free: 10.37 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003371/1.338, allocations: 86.62 kB / 1.242 GB, free: 10.32 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.04445/1.383, allocations: 10.64 MB / 1.253 GB, free: 340 kB / 0.8542 GB Notification: Performance of FrontEnd: time 2.235e-06/1.383, allocations: 4 kB / 1.253 GB, free: 336 kB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.092e-05/1.383, allocations: 8 kB / 1.253 GB, free: 328 kB / 0.8542 GB 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.5993/1.982, allocations: 0.5625 MB / 1.253 GB, free: 305.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/1.982, allocations: 9.281 kB / 1.253 GB, free: 305.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001338/1.982, allocations: 23.5 kB / 1.253 GB, free: 305.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009906/1.983, allocations: 267.7 kB / 1.254 GB, free: 305.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/1.983, allocations: 5.516 kB / 1.254 GB, free: 305.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.057e-05/1.984, allocations: 8.031 kB / 1.254 GB, free: 305.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004351/1.984, allocations: 126.9 kB / 1.254 GB, free: 305.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/1.984, allocations: 0.7188 kB / 1.254 GB, free: 305.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.219e-05/1.984, allocations: 3.516 kB / 1.254 GB, free: 305.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/1.984, allocations: 4.094 kB / 1.254 GB, free: 305.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004314/1.984, allocations: 96.58 kB / 1.254 GB, free: 305.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001453/1.986, allocations: 0.4898 MB / 1.254 GB, free: 305.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002549/1.986, allocations: 75.11 kB / 1.254 GB, free: 305.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002029/1.986, allocations: 63.83 kB / 1.255 GB, free: 305.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008908/1.987, allocations: 0.5073 MB / 1.255 GB, free: 304.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/1.987, allocations: 39.55 kB / 1.255 GB, free: 304.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 2.715e-06/1.987, allocations: 7.406 kB / 1.255 GB, free: 304.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.000627/1.988, allocations: 158.9 kB / 1.255 GB, free: 304.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/1.988, allocations: 53.14 kB / 1.255 GB, free: 304.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003234/1.988, allocations: 201.5 kB / 1.255 GB, free: 304.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/1.988, allocations: 29.05 kB / 1.255 GB, free: 304.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/1.989, allocations: 139.5 kB / 1.256 GB, free: 304.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.165e-05/1.989, allocations: 41.52 kB / 1.256 GB, free: 304.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.924e-05/1.989, allocations: 1 kB / 1.256 GB, free: 304.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.744e-05/1.989, allocations: 332.9 kB / 1.256 GB, free: 304 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/1.989, allocations: 45.55 kB / 1.256 GB, free: 304 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001834/1.989, allocations: 48.52 kB / 1.256 GB, free: 304 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/1.989, allocations: 48.56 kB / 1.256 GB, free: 304 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/1.989, allocations: 3.312 kB / 1.256 GB, free: 304 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000531/1.99, allocations: 152.8 kB / 1.256 GB, free: 303.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/1.99, allocations: 3.75 kB / 1.256 GB, free: 303.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/1.99, allocations: 6.688 kB / 1.256 GB, free: 303.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/1.99, allocations: 1.125 kB / 1.256 GB, free: 303.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006091/1.991, allocations: 55.66 kB / 1.256 GB, free: 303.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/1.991, allocations: 3.953 kB / 1.256 GB, free: 303.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000446/1.991, allocations: 48.91 kB / 1.256 GB, free: 303.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-05/1.991, allocations: 8.516 kB / 1.256 GB, free: 303.9 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 (11): * Single equations (assignments): 11 * 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 9.035e-05/1.991, allocations: 105.7 kB / 1.256 GB, free: 303.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.069e-05/1.991, allocations: 25.12 kB / 1.256 GB, free: 303.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006427/1.992, allocations: 191.7 kB / 1.257 GB, free: 303.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/1.992, allocations: 1.828 kB / 1.257 GB, free: 303.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/1.992, allocations: 1.125 kB / 1.257 GB, free: 303.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/1.992, allocations: 4.609 kB / 1.257 GB, free: 303.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004282/1.993, allocations: 270 kB / 1.257 GB, free: 303.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/1.993, allocations: 1.5 kB / 1.257 GB, free: 303.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005806/1.993, allocations: 55.81 kB / 1.257 GB, free: 303.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/1.993, allocations: 2.594 kB / 1.257 GB, free: 303.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.985e-05/1.993, allocations: 3.844 kB / 1.257 GB, free: 303.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/1.993, allocations: 1.156 kB / 1.257 GB, free: 303.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/1.993, allocations: 3.938 kB / 1.257 GB, free: 303.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005284/1.994, allocations: 264.6 kB / 1.257 GB, free: 303.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/1.994, allocations: 116.7 kB / 1.257 GB, free: 303.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.314e-05/1.994, allocations: 3 kB / 1.257 GB, free: 303.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004652/1.994, allocations: 38.94 kB / 1.257 GB, free: 303.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/1.995, allocations: 16.45 kB / 1.257 GB, free: 303.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.857e-05/1.995, allocations: 7.188 kB / 1.257 GB, free: 303.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002144/1.995, allocations: 165 kB / 1.258 GB, free: 303.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.51e-07/1.995, allocations: 0 / 1.258 GB, free: 303.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005011/1.995, allocations: 70.91 kB / 1.258 GB, free: 303.2 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 (11): * Single equations (assignments): 11 * 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.0003952/1.996, allocations: 191.4 kB / 1.258 GB, free: 303.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004775/1.996, allocations: 121.1 kB / 1.258 GB, free: 303.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/1.996, allocations: 0 / 1.258 GB, free: 303.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002293/1.997, allocations: 71.17 kB / 1.258 GB, free: 303.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/1.997, allocations: 27.86 kB / 1.258 GB, free: 303.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008529/1.998, allocations: 240.2 kB / 1.258 GB, free: 303 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/1.998, allocations: 0.7457 MB / 1.259 GB, free: 302.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003636/1.998, allocations: 42.14 kB / 1.259 GB, free: 302.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/1.999, allocations: 18.5 kB / 1.259 GB, free: 302.3 MB / 0.8542 GB Notification: Performance of SimCode: time 1.984e-06/1.999, allocations: 0 / 1.259 GB, free: 302.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.01144/2.01, allocations: 3.185 MB / 1.262 GB, free: 302.1 MB / 0.8542 GB