Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001387/0.00139, allocations: 186.7 kB / 15.77 MB, free: 6 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.9052/0.9052, allocations: 82.92 MB / 99.42 MB, free: 3.246 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.278/2.278, allocations: 205.4 MB / 325.4 MB, free: 3.562 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001006/0.001006, allocations: 92.55 kB / 393.6 MB, free: 15.33 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004772/0.0004775, allocations: 12 kB / 471.5 MB, free: 66.59 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09104/0.09154, allocations: 67.44 MB / 0.5264 GB, free: 15.11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005644/0.09723, allocations: 3.476 MB / 0.5297 GB, free: 11.61 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.6103/0.7075, allocations: 127.2 MB / 0.654 GB, free: 6.332 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006795/0.7083, allocations: 11.31 kB / 0.654 GB, free: 6.328 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000325/0.7086, allocations: 71.62 kB / 0.6541 GB, free: 6.266 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001736/0.7104, allocations: 424.5 kB / 0.6545 GB, free: 5.957 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002252/0.7126, allocations: 0.589 MB / 0.655 GB, free: 5.547 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001954/0.7146, allocations: 0.7352 MB / 0.6558 GB, free: 5.051 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001417/0.7161, allocations: 447.2 kB / 0.6562 GB, free: 4.805 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009548/0.7171, allocations: 304.4 kB / 0.6565 GB, free: 4.637 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006993/0.7178, allocations: 285 kB / 0.6567 GB, free: 4.461 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001595/0.718, allocations: 23.34 kB / 0.6568 GB, free: 4.461 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001161/0.7191, allocations: 238.9 kB / 0.657 GB, free: 4.367 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003218/0.7195, allocations: 168.1 kB / 0.6572 GB, free: 4.258 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003587/0.7199, allocations: 175.3 kB / 0.6573 GB, free: 4.133 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002407/0.7223, allocations: 1.024 MB / 0.6583 GB, free: 3.395 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.53e-06/0.7223, allocations: 8 kB / 0.6583 GB, free: 3.387 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.816e-06/0.7224, allocations: 2.938 kB / 0.6583 GB, free: 3.387 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.839e-05/0.7224, allocations: 0 / 0.6583 GB, free: 3.387 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.003807/0.7262, allocations: 1.109 MB / 0.6594 GB, free: 2.473 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.7263, allocations: 10.25 kB / 0.6594 GB, free: 2.473 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002095/0.7284, allocations: 203.5 kB / 0.6596 GB, free: 2.379 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002379/0.7308, allocations: 0.6784 MB / 0.6603 GB, free: 1.82 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/0.731, allocations: 65.61 kB / 0.6603 GB, free: 1.785 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002213/0.7312, allocations: 76.95 kB / 0.6604 GB, free: 1.758 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002754/0.734, allocations: 0.856 MB / 0.6612 GB, free: 1.195 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/0.734, allocations: 2.469 kB / 0.6613 GB, free: 1.195 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.7341, allocations: 32.5 kB / 0.6613 GB, free: 1.172 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/0.7342, allocations: 17.72 kB / 0.6613 GB, free: 1.172 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00239/0.7366, allocations: 1.081 MB / 0.6624 GB, free: 0.6562 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005188/0.7418, allocations: 2.407 MB / 0.6647 GB, free: 14.83 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002765/0.7446, allocations: 0.8246 MB / 0.6655 GB, free: 14.41 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.763e-05/0.7447, allocations: 39.69 kB / 0.6655 GB, free: 14.39 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001099/0.7458, allocations: 454.1 kB / 0.666 GB, free: 14.1 MB / 458.7 MB Notification: Performance of pre-optimization done (n=73): time 3.923e-06/0.7458, allocations: 0 / 0.666 GB, free: 14.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=73): time 0.003781/0.7496, allocations: 1.119 MB / 0.6671 GB, free: 13.48 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001329/0.7498, allocations: 194.9 kB / 0.6673 GB, free: 13.26 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009543/0.7508, allocations: 0.5557 MB / 0.6678 GB, free: 12.93 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.248e-05/0.7509, allocations: 40.58 kB / 0.6678 GB, free: 12.89 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000385/0.7513, allocations: 371.2 kB / 0.6682 GB, free: 12.56 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002737/0.7516, allocations: 241.7 kB / 0.6684 GB, free: 12.35 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.149e-05/0.7516, allocations: 14.41 kB / 0.6684 GB, free: 12.34 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002378/0.7519, allocations: 376.8 kB / 0.6688 GB, free: 11.98 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000685/0.7526, allocations: 235 kB / 0.669 GB, free: 11.86 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000808/0.7534, allocations: 330.8 kB / 0.6693 GB, free: 11.65 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007731/0.7542, allocations: 284.3 kB / 0.6696 GB, free: 11.51 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.181e-06/0.7542, allocations: 0 / 0.6696 GB, free: 11.51 MB / 458.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002373/0.7566, allocations: 0.7496 MB / 0.6703 GB, free: 11.12 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.7566, allocations: 9.656 kB / 0.6704 GB, free: 11.12 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.563e-06/0.7567, allocations: 0 / 0.6704 GB, free: 11.12 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006671/0.7573, allocations: 87.73 kB / 0.6704 GB, free: 11.07 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007857/0.7581, allocations: 145.9 kB / 0.6706 GB, free: 11.04 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002652/0.7608, allocations: 1.545 MB / 0.6721 GB, free: 9.523 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008248/0.7617, allocations: 86.25 kB / 0.6722 GB, free: 9.469 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.762e-05/0.7618, allocations: 25.58 kB / 0.6722 GB, free: 9.461 MB / 458.7 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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.000556/0.7623, allocations: 256.4 kB / 0.6724 GB, free: 9.258 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001611/0.7625, allocations: 73.28 kB / 0.6725 GB, free: 9.219 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003204/0.7657, allocations: 1.044 MB / 0.6735 GB, free: 8.266 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/0.7658, allocations: 12 kB / 0.6735 GB, free: 8.254 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.7658, allocations: 0 / 0.6735 GB, free: 8.254 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/0.7658, allocations: 3.984 kB / 0.6735 GB, free: 8.25 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00148/0.7673, allocations: 0.8528 MB / 0.6744 GB, free: 7.348 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.687e-06/0.7673, allocations: 0 / 0.6744 GB, free: 7.348 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008217/0.7681, allocations: 155.7 kB / 0.6745 GB, free: 7.195 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006182/0.7688, allocations: 80.78 kB / 0.6746 GB, free: 7.113 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.978e-05/0.7689, allocations: 27.94 kB / 0.6746 GB, free: 7.086 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002584/0.7715, allocations: 1.567 MB / 0.6762 GB, free: 5.375 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.7715, allocations: 0 / 0.6762 GB, free: 5.375 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002667/0.7742, allocations: 0.8694 MB / 0.677 GB, free: 4.488 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005097/0.7747, allocations: 279.7 kB / 0.6773 GB, free: 4.195 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/0.7749, allocations: 15.98 kB / 0.6773 GB, free: 4.18 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007137/0.7756, allocations: 71.94 kB / 0.6774 GB, free: 4.109 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001684/0.7758, allocations: 56.92 kB / 0.6774 GB, free: 4.051 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.326e-05/0.7759, allocations: 31.98 kB / 0.6774 GB, free: 4.02 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007831/0.7767, allocations: 419 kB / 0.6778 GB, free: 3.605 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.9e-07/0.7767, allocations: 0 / 0.6778 GB, free: 3.605 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001036/0.7778, allocations: 263.4 kB / 0.6781 GB, free: 3.348 MB / 458.7 MB 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 82 * 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.001847/0.7796, allocations: 0.5597 MB / 0.6786 GB, free: 2.922 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002169/0.7818, allocations: 0.7477 MB / 0.6794 GB, free: 2.164 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.7818, allocations: 192 / 0.6794 GB, free: 2.164 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001238/0.7831, allocations: 0.5003 MB / 0.6799 GB, free: 1.652 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/0.7844, allocations: 236.8 kB / 0.6801 GB, free: 1.43 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005213/0.7896, allocations: 2.038 MB / 0.6821 GB, free: 15.37 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008523/0.7905, allocations: 1.019 MB / 0.6831 GB, free: 14.32 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001244/0.7918, allocations: 254 kB / 0.6833 GB, free: 14.07 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003576/0.7922, allocations: 99.39 kB / 0.6834 GB, free: 13.97 MB / 474.7 MB Notification: Performance of SimCode: time 1.824e-06/0.7922, allocations: 0 / 0.6834 GB, free: 13.97 MB / 474.7 MB Notification: Performance of Templates: time 0.03285/0.8251, allocations: 12.76 MB / 0.6959 GB, free: 1.316 MB / 474.7 MB