Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002816/0.002819, allocations: 357.5 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.303/1.303, allocations: 165.8 MB / 182.5 MB, free: 5.922 MB / 90.73 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.301/4.301, allocations: 410.8 MB / 0.5995 GB, free: 2.215 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002925/0.002925, allocations: 185.1 kB / 0.6662 GB, free: 14.07 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009716/0.000972, allocations: 8 kB / 0.7423 GB, free: 68 kB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3999/0.4009, allocations: 67.44 MB / 0.8081 GB, free: 245.3 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.006077/0.4071, allocations: 4.296 MB / 0.8123 GB, free: 243 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.1472/0.5543, allocations: 136.6 MB / 0.9457 GB, free: 116.5 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001126/0.5555, allocations: 15.94 kB / 0.9457 GB, free: 116.4 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.000378/0.5559, allocations: 87.14 kB / 0.9458 GB, free: 116.4 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.002005/0.5579, allocations: 462.6 kB / 0.9463 GB, free: 115.9 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.002291/0.5602, allocations: 0.6972 MB / 0.9469 GB, free: 115.2 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001725/0.5619, allocations: 1.365 MB / 0.9483 GB, free: 113.9 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001177/0.5631, allocations: 0.8816 MB / 0.9491 GB, free: 113 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000776/0.5639, allocations: 425.7 kB / 0.9495 GB, free: 112.6 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005807/0.5645, allocations: 453.3 kB / 0.95 GB, free: 112.2 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001286/0.5647, allocations: 32 kB / 0.95 GB, free: 112.1 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007725/0.5655, allocations: 275.5 kB / 0.9503 GB, free: 111.9 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002119/0.5657, allocations: 218.9 kB / 0.9505 GB, free: 111.6 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0002635/0.566, allocations: 268.9 kB / 0.9507 GB, free: 111.4 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001753/0.5677, allocations: 1.629 MB / 0.9523 GB, free: 109.7 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.824e-06/0.5678, allocations: 7.688 kB / 0.9523 GB, free: 109.7 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.233e-06/0.5678, allocations: 0 / 0.9523 GB, free: 109.7 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.924e-05/0.5678, allocations: 0 / 0.9523 GB, free: 109.7 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.002673/0.5705, allocations: 1.483 MB / 0.9538 GB, free: 108.2 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.5706, allocations: 8.031 kB / 0.9538 GB, free: 108.2 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/0.5717, allocations: 249.8 kB / 0.954 GB, free: 107.9 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001486/0.5732, allocations: 0.8641 MB / 0.9549 GB, free: 107 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001353/0.5733, allocations: 144.5 kB / 0.955 GB, free: 106.9 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001886/0.5735, allocations: 140 kB / 0.9551 GB, free: 106.8 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002772/0.5763, allocations: 1.42 MB / 0.9565 GB, free: 105.3 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.462e-05/0.5764, allocations: 0 / 0.9565 GB, free: 105.3 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001494/0.5765, allocations: 60.75 kB / 0.9566 GB, free: 105.2 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.935e-05/0.5766, allocations: 36 kB / 0.9566 GB, free: 105.2 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002862/0.5795, allocations: 1.462 MB / 0.958 GB, free: 103.7 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006997/0.5865, allocations: 3.778 MB / 0.9617 GB, free: 99.89 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001827/0.5883, allocations: 0.9036 MB / 0.9626 GB, free: 98.98 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007697/0.5891, allocations: 363.7 kB / 0.963 GB, free: 98.62 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001028/0.5893, allocations: 41.08 kB / 0.963 GB, free: 98.58 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001099/0.5904, allocations: 0.5485 MB / 0.9635 GB, free: 98.02 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=93): time 4.489e-06/0.5904, allocations: 0 / 0.9635 GB, free: 98.02 MB / 0.5886 GB Notification: Performance of matching and sorting (n=93): time 0.003879/0.5943, allocations: 1.387 MB / 0.9649 GB, free: 96.61 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/0.5944, allocations: 192.9 kB / 0.9651 GB, free: 96.38 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.5955, allocations: 0.747 MB / 0.9658 GB, free: 95.62 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001517/0.5957, allocations: 41.7 kB / 0.9658 GB, free: 95.57 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004289/0.5961, allocations: 0.5776 MB / 0.9664 GB, free: 94.99 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002468/0.5964, allocations: 307.5 kB / 0.9667 GB, free: 94.68 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.287e-05/0.5964, allocations: 16 kB / 0.9667 GB, free: 94.67 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.728e-05/0.5965, allocations: 342 kB / 0.967 GB, free: 94.33 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008116/0.5974, allocations: 333.8 kB / 0.9674 GB, free: 94 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008601/0.5982, allocations: 431.9 kB / 0.9678 GB, free: 93.56 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008693/0.5991, allocations: 390.8 kB / 0.9681 GB, free: 93.18 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.851e-06/0.5991, allocations: 0 / 0.9681 GB, free: 93.18 MB / 0.5886 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002672/0.6018, allocations: 1.036 MB / 0.9692 GB, free: 92.13 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.6019, allocations: 8.094 kB / 0.9692 GB, free: 92.12 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.6019, allocations: 4 kB / 0.9692 GB, free: 92.12 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006169/0.6025, allocations: 82.75 kB / 0.9692 GB, free: 92.04 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/0.6036, allocations: 203.7 kB / 0.9694 GB, free: 91.84 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002058/0.6057, allocations: 1.531 MB / 0.9709 GB, free: 90.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/0.6067, allocations: 111.1 kB / 0.971 GB, free: 90.07 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/0.6068, allocations: 43.97 kB / 0.9711 GB, free: 90.03 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 110 * 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.0006721/0.6075, allocations: 319.6 kB / 0.9714 GB, free: 89.71 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001889/0.6077, allocations: 98.78 kB / 0.9715 GB, free: 89.61 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003439/0.6112, allocations: 1.299 MB / 0.9728 GB, free: 88.31 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.421e-05/0.6112, allocations: 12 kB / 0.9728 GB, free: 88.3 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.042e-06/0.6113, allocations: 0 / 0.9728 GB, free: 88.3 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.576e-05/0.6113, allocations: 7.969 kB / 0.9728 GB, free: 88.29 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004927/0.6162, allocations: 2.498 MB / 0.9752 GB, free: 85.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.839e-06/0.6163, allocations: 0 / 0.9752 GB, free: 85.73 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009585/0.6172, allocations: 183.7 kB / 0.9754 GB, free: 85.55 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005749/0.6178, allocations: 84.77 kB / 0.9755 GB, free: 85.46 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.983e-05/0.6179, allocations: 32.77 kB / 0.9755 GB, free: 85.44 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001884/0.6198, allocations: 1.544 MB / 0.977 GB, free: 83.75 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.398e-06/0.6199, allocations: 4.031 kB / 0.977 GB, free: 83.75 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002663/0.6225, allocations: 1.117 MB / 0.9781 GB, free: 82.61 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006165/0.6232, allocations: 343.3 kB / 0.9784 GB, free: 82.26 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001703/0.6234, allocations: 20 kB / 0.9784 GB, free: 82.24 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008871/0.6243, allocations: 81 kB / 0.9785 GB, free: 82.16 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001662/0.6245, allocations: 72.89 kB / 0.9786 GB, free: 82.09 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/0.6246, allocations: 43.97 kB / 0.9786 GB, free: 82.05 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0008715/0.6255, allocations: 0.5458 MB / 0.9792 GB, free: 81.51 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8.1e-07/0.6255, allocations: 0 / 0.9792 GB, free: 81.51 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001238/0.6267, allocations: 378.5 kB / 0.9795 GB, free: 81.14 MB / 0.5886 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) * Number of clocked states: 0 () * 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.001797/0.6285, allocations: 0.5611 MB / 0.9801 GB, free: 80.81 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002283/0.6309, allocations: 0.9642 MB / 0.981 GB, free: 79.84 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/0.6309, allocations: 0 / 0.981 GB, free: 79.84 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001195/0.6321, allocations: 0.5782 MB / 0.9816 GB, free: 79.24 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00159/0.6337, allocations: 273.5 kB / 0.9818 GB, free: 78.99 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005812/0.6395, allocations: 2.921 MB / 0.9847 GB, free: 76.05 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007208/0.6403, allocations: 1.188 MB / 0.9859 GB, free: 74.83 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001335/0.6417, allocations: 293.3 kB / 0.9861 GB, free: 74.57 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004081/0.6421, allocations: 131.3 kB / 0.9863 GB, free: 74.44 MB / 0.5886 GB Notification: Performance of SimCode: time 2.174e-06/0.6421, allocations: 0 / 0.9863 GB, free: 74.44 MB / 0.5886 GB Notification: Performance of Templates: time 0.04557/0.6877, allocations: 15.59 MB / 1.001 GB, free: 59.21 MB / 0.5886 GB