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.002142/0.002142, allocations: 182.4 kB / 15.77 MB, free: 6.371 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.7416/0.7416, allocations: 82.93 MB / 99.42 MB, free: 2.215 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.213/2.213, allocations: 205.4 MB / 325.4 MB, free: 6.652 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009773/0.0009769, allocations: 95.41 kB / 393.6 MB, free: 11.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000445/0.0004453, allocations: 8 kB / 471.5 MB, free: 13.36 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.379/0.3795, allocations: 67.43 MB / 0.5263 GB, free: 55.52 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.00554/0.3851, allocations: 4.182 MB / 0.5304 GB, free: 52.56 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1736/0.5588, allocations: 127.5 MB / 0.655 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001146/0.56, allocations: 19.88 kB / 0.655 GB, free: 14.82 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004797/0.5605, allocations: 91.14 kB / 0.6551 GB, free: 14.73 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002422/0.5629, allocations: 0.506 MB / 0.6556 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002841/0.5658, allocations: 0.6849 MB / 0.6562 GB, free: 13.55 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.002232/0.568, allocations: 0.9579 MB / 0.6572 GB, free: 12.59 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001651/0.5697, allocations: 0.8789 MB / 0.658 GB, free: 11.69 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009692/0.5707, allocations: 441.9 kB / 0.6585 GB, free: 11.26 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007457/0.5715, allocations: 437.4 kB / 0.6589 GB, free: 10.83 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001568/0.5717, allocations: 31.94 kB / 0.6589 GB, free: 10.8 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008643/0.5725, allocations: 247.7 kB / 0.6591 GB, free: 10.55 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003088/0.5729, allocations: 227 kB / 0.6594 GB, free: 10.33 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003561/0.5732, allocations: 264.9 kB / 0.6596 GB, free: 10.07 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002496/0.5757, allocations: 1.621 MB / 0.6612 GB, free: 8.441 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.5758, allocations: 4 kB / 0.6612 GB, free: 8.438 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.833e-06/0.5758, allocations: 4 kB / 0.6612 GB, free: 8.434 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.402e-05/0.5758, allocations: 0 / 0.6612 GB, free: 8.434 MB / 490.7 MB 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.003444/0.5793, allocations: 1.49 MB / 0.6627 GB, free: 6.891 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.5794, allocations: 8.031 kB / 0.6627 GB, free: 6.883 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001323/0.5807, allocations: 249.8 kB / 0.6629 GB, free: 6.637 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001959/0.5827, allocations: 0.8641 MB / 0.6637 GB, free: 5.73 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001973/0.5829, allocations: 144.5 kB / 0.6639 GB, free: 5.582 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002722/0.5832, allocations: 140 kB / 0.664 GB, free: 5.445 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003665/0.5869, allocations: 1.409 MB / 0.6654 GB, free: 3.98 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.549e-05/0.5869, allocations: 3.938 kB / 0.6654 GB, free: 3.977 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001883/0.5871, allocations: 56 kB / 0.6654 GB, free: 3.922 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.443e-05/0.5872, allocations: 36 kB / 0.6655 GB, free: 3.887 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003749/0.591, allocations: 1.462 MB / 0.6669 GB, free: 2.418 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008939/0.5999, allocations: 3.777 MB / 0.6706 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002327/0.6023, allocations: 0.9157 MB / 0.6715 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001204/0.6025, allocations: 41.08 kB / 0.6715 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001391/0.6039, allocations: 0.5435 MB / 0.6721 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=93): time 4.205e-06/0.6039, allocations: 4 kB / 0.6721 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of matching and sorting (n=93): time 0.004556/0.6085, allocations: 1.382 MB / 0.6734 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000138/0.6086, allocations: 188.9 kB / 0.6736 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001429/0.6101, allocations: 0.7393 MB / 0.6743 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001528/0.6102, allocations: 41.7 kB / 0.6744 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006744/0.6109, allocations: 0.5854 MB / 0.6749 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004046/0.6114, allocations: 307.5 kB / 0.6752 GB, free: 9.703 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.962e-05/0.6114, allocations: 24 kB / 0.6752 GB, free: 9.68 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002043/0.6117, allocations: 337.9 kB / 0.6756 GB, free: 9.344 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000903/0.6126, allocations: 301.8 kB / 0.6759 GB, free: 9.047 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/0.6136, allocations: 439.2 kB / 0.6763 GB, free: 8.59 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.6147, allocations: 366.9 kB / 0.6766 GB, free: 8.234 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.239e-06/0.6147, allocations: 4 kB / 0.6766 GB, free: 8.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.003056/0.6178, allocations: 0.9774 MB / 0.6776 GB, free: 7.238 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/0.6178, allocations: 10.19 kB / 0.6776 GB, free: 7.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.562e-06/0.6178, allocations: 0 / 0.6776 GB, free: 7.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006921/0.6185, allocations: 84.86 kB / 0.6777 GB, free: 7.145 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/0.6197, allocations: 195.7 kB / 0.6779 GB, free: 6.953 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002763/0.6225, allocations: 1.555 MB / 0.6794 GB, free: 5.262 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/0.6236, allocations: 107.2 kB / 0.6795 GB, free: 5.156 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/0.6237, allocations: 39.97 kB / 0.6795 GB, free: 5.117 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 102 * 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.000838/0.6245, allocations: 306.8 kB / 0.6798 GB, free: 4.809 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002602/0.6248, allocations: 106.7 kB / 0.6799 GB, free: 4.703 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004043/0.6289, allocations: 1.309 MB / 0.6812 GB, free: 3.379 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.13e-05/0.6289, allocations: 12 kB / 0.6812 GB, free: 3.367 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.992e-06/0.6289, allocations: 0 / 0.6812 GB, free: 3.367 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.581e-05/0.629, allocations: 3.984 kB / 0.6812 GB, free: 3.363 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006362/0.6353, allocations: 2.505 MB / 0.6837 GB, free: 0.7969 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.6354, allocations: 0 / 0.6837 GB, free: 0.7969 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/0.6364, allocations: 179.7 kB / 0.6838 GB, free: 0.6211 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006331/0.6371, allocations: 88.77 kB / 0.6839 GB, free: 0.5312 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/0.6372, allocations: 27.98 kB / 0.6839 GB, free: 0.5039 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00264/0.6399, allocations: 1.567 MB / 0.6855 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.601e-06/0.6399, allocations: 3.938 kB / 0.6855 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003166/0.6431, allocations: 1.109 MB / 0.6866 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007631/0.6439, allocations: 343.3 kB / 0.6869 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/0.6441, allocations: 16 kB / 0.6869 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009674/0.645, allocations: 83.88 kB / 0.687 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001942/0.6453, allocations: 72.83 kB / 0.687 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001271/0.6454, allocations: 48.03 kB / 0.6871 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001084/0.6465, allocations: 0.542 MB / 0.6876 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.74e-07/0.6465, allocations: 0 / 0.6876 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001336/0.6479, allocations: 382.5 kB / 0.688 GB, free: 12.18 MB / 0.5105 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.001871/0.6497, allocations: 0.5655 MB / 0.6885 GB, free: 11.76 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002636/0.6524, allocations: 0.9327 MB / 0.6894 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.6524, allocations: 3.938 kB / 0.6894 GB, free: 10.81 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001556/0.654, allocations: 0.5825 MB / 0.69 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001517/0.6555, allocations: 250.4 kB / 0.6903 GB, free: 9.973 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007226/0.6628, allocations: 2.915 MB / 0.6931 GB, free: 7.035 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001195/0.664, allocations: 1.192 MB / 0.6943 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001472/0.6655, allocations: 291.6 kB / 0.6945 GB, free: 5.527 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004617/0.666, allocations: 123.4 kB / 0.6947 GB, free: 5.406 MB / 0.5105 GB Notification: Performance of SimCode: time 1.543e-06/0.666, allocations: 0 / 0.6947 GB, free: 5.406 MB / 0.5105 GB Notification: Performance of Templates: time 0.3515/1.018, allocations: 15.59 MB / 0.7099 GB, free: 156.9 MB / 0.5105 GB