Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.conf.json 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/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001717/0.001718, allocations: 177.2 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5009/0.5009, allocations: 90.92 MB / 99.35 MB, free: 2.152 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 221.5 MB / 343.2 MB, free: 1.551 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000903/0.0009032, allocations: 99.25 kB / 416 MB, free: 11.13 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.528e-05/2.532e-05, allocations: 4 kB / 494.5 MB, free: 52.37 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1786, allocations: 72.32 MB / 0.5535 GB, free: 12.25 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.103/5.282, allocations: 1.686 GB / 2.239 GB, free: 7.055 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/5.282, allocations: 83.94 kB / 2.24 GB, free: 6.973 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.6083/5.89, allocations: 83.2 MB / 2.321 GB, free: 179.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.294e-06/5.891, allocations: 7.875 kB / 2.321 GB, free: 179.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.88e-05/5.891, allocations: 28 kB / 2.321 GB, free: 179 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.002201/5.893, allocations: 1.318 MB / 2.322 GB, free: 177.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/5.893, allocations: 12.03 kB / 2.322 GB, free: 177.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008469/5.894, allocations: 222.1 kB / 2.322 GB, free: 177.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/5.895, allocations: 0.7522 MB / 2.323 GB, free: 176.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.602e-05/5.895, allocations: 80.19 kB / 2.323 GB, free: 176.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/5.895, allocations: 68 kB / 2.323 GB, free: 176.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001619/5.897, allocations: 1.27 MB / 2.324 GB, free: 175.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/5.898, allocations: 1.058 MB / 2.325 GB, free: 174.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/5.898, allocations: 0 / 2.325 GB, free: 174.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.979e-05/5.898, allocations: 4 kB / 2.325 GB, free: 174.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/5.898, allocations: 28 kB / 2.325 GB, free: 174.1 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004443/5.903, allocations: 3.322 MB / 2.329 GB, free: 170.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009345/5.904, allocations: 0.8115 MB / 2.33 GB, free: 169.9 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00036/5.904, allocations: 323.1 kB / 2.33 GB, free: 169.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.686e-05/5.904, allocations: 40.7 kB / 2.33 GB, free: 169.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006725/5.905, allocations: 0.4919 MB / 2.33 GB, free: 169 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=93): time 1.864e-06/5.905, allocations: 0 / 2.33 GB, free: 169 MB / 0.6042 GB Notification: Performance of matching and sorting (n=93): time 0.001635/5.906, allocations: 0.8329 MB / 2.331 GB, free: 168.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.139e-05/5.907, allocations: 244.1 kB / 2.331 GB, free: 167.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006335/5.907, allocations: 0.5779 MB / 2.332 GB, free: 167.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.314e-05/5.907, allocations: 33.7 kB / 2.332 GB, free: 167.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002497/5.908, allocations: 0.5074 MB / 2.332 GB, free: 166.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/5.908, allocations: 295.5 kB / 2.333 GB, free: 166.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-05/5.908, allocations: 0 / 2.333 GB, free: 166.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001105/5.908, allocations: 390.7 kB / 2.333 GB, free: 166 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003382/5.908, allocations: 278.5 kB / 2.333 GB, free: 165.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004081/5.909, allocations: 389.2 kB / 2.334 GB, free: 165.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004496/5.909, allocations: 334.3 kB / 2.334 GB, free: 165 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/5.909, allocations: 0 / 2.334 GB, free: 165 MB / 0.6042 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001496/5.911, allocations: 0.8755 MB / 2.335 GB, free: 164.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/5.911, allocations: 8.938 kB / 2.335 GB, free: 164.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/5.911, allocations: 0 / 2.335 GB, free: 164.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005461/5.911, allocations: 84.88 kB / 2.335 GB, free: 164.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007202/5.912, allocations: 187.7 kB / 2.335 GB, free: 163.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001484/5.913, allocations: 1.477 MB / 2.337 GB, free: 162.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006225/5.914, allocations: 75.34 kB / 2.337 GB, free: 162.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.425e-05/5.914, allocations: 43.84 kB / 2.337 GB, free: 162.1 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 101 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001684/5.914, allocations: 116.9 kB / 2.337 GB, free: 162 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/5.914, allocations: 82.97 kB / 2.337 GB, free: 161.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002171/5.917, allocations: 1.198 MB / 2.338 GB, free: 160.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/5.917, allocations: 8 kB / 2.338 GB, free: 160.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/5.917, allocations: 0 / 2.338 GB, free: 160.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/5.917, allocations: 3.984 kB / 2.338 GB, free: 160.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002865/5.92, allocations: 2.211 MB / 2.34 GB, free: 158.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/5.92, allocations: 0 / 2.34 GB, free: 158.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006483/5.92, allocations: 183.7 kB / 2.34 GB, free: 158.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004379/5.921, allocations: 80.78 kB / 2.341 GB, free: 158.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.317e-05/5.921, allocations: 19.97 kB / 2.341 GB, free: 158.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001292/5.922, allocations: 1.492 MB / 2.342 GB, free: 156.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/5.922, allocations: 0 / 2.342 GB, free: 156.6 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00147/5.924, allocations: 1.02 MB / 2.343 GB, free: 155.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003737/5.924, allocations: 335.5 kB / 2.343 GB, free: 155.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/5.924, allocations: 4 kB / 2.343 GB, free: 155.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006408/5.925, allocations: 59.89 kB / 2.343 GB, free: 155.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/5.925, allocations: 73.2 kB / 2.343 GB, free: 155 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-05/5.925, allocations: 39.98 kB / 2.344 GB, free: 155 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005176/5.925, allocations: 487.1 kB / 2.344 GB, free: 154.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/5.925, allocations: 0 / 2.344 GB, free: 154.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001296/5.927, allocations: 414.5 kB / 2.344 GB, free: 154.1 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001868/5.929, allocations: 1.085 MB / 2.345 GB, free: 153.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001283/5.93, allocations: 0.8397 MB / 2.346 GB, free: 152.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/5.93, allocations: 0 / 2.346 GB, free: 152.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006518/5.931, allocations: 0.5221 MB / 2.347 GB, free: 151.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/5.932, allocations: 229.3 kB / 2.347 GB, free: 151.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003478/5.935, allocations: 1.661 MB / 2.349 GB, free: 149.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000483/5.936, allocations: 1.153 MB / 2.35 GB, free: 148.7 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0008975/5.937, allocations: 279 kB / 2.35 GB, free: 148.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000274/5.937, allocations: 119.4 kB / 2.35 GB, free: 148.3 MB / 0.6042 GB Notification: Performance of SimCode: time 5.91e-07/5.937, allocations: 0 / 2.35 GB, free: 148.3 MB / 0.6042 GB Notification: Performance of Templates: time 0.02634/5.963, allocations: 18.15 MB / 2.368 GB, free: 130.2 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)