Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002656/0.002662, allocations: 359.9 kB / 16.59 MB, free: 5.562 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.513/1.513, allocations: 165.8 MB / 183.1 MB, free: 5.441 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.502/4.502, allocations: 410.8 MB / 0.6001 GB, free: 15.14 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001797/0.001796, allocations: 193.3 kB / 0.6668 GB, free: 6.918 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006666/0.0006668, allocations: 11.94 kB / 0.7429 GB, free: 8.953 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4807/0.4814, allocations: 67.44 MB / 0.8087 GB, free: 28.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01081/0.4923, allocations: 5.196 MB / 0.8138 GB, free: 23.55 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.7582/1.251, allocations: 137.2 MB / 0.9478 GB, free: 276 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001573/1.252, allocations: 22.5 kB / 0.9478 GB, free: 268 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008397/1.253, allocations: 118.4 kB / 0.9479 GB, free: 204 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003056/1.256, allocations: 0.5075 MB / 0.9484 GB, free: 52 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00399/1.26, allocations: 0.9087 MB / 0.9493 GB, free: 8 kB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.004303/1.265, allocations: 2.053 MB / 0.9513 GB, free: 15.86 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002346/1.267, allocations: 1.115 MB / 0.9524 GB, free: 15.66 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001873/1.269, allocations: 0.6505 MB / 0.953 GB, free: 15.48 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00219/1.271, allocations: 0.7768 MB / 0.9538 GB, free: 15.27 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007667/1.272, allocations: 55.03 kB / 0.9538 GB, free: 15.27 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002038/1.274, allocations: 320.5 kB / 0.9541 GB, free: 15.27 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009746/1.275, allocations: 348.9 kB / 0.9544 GB, free: 15.19 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009315/1.276, allocations: 351.9 kB / 0.9548 GB, free: 15.09 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004668/1.281, allocations: 2.287 MB / 0.957 GB, free: 14.95 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.737e-06/1.281, allocations: 0 / 0.957 GB, free: 14.95 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.517e-06/1.281, allocations: 4 kB / 0.957 GB, free: 14.95 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000146/1.281, allocations: 0 / 0.957 GB, free: 14.95 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: 534 * Number of variables: 534 Notification: Performance of Generate backend data structure: time 0.009722/1.291, allocations: 2.076 MB / 0.959 GB, free: 13.88 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/1.291, allocations: 8.375 kB / 0.9591 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02883/1.32, allocations: 2.201 MB / 0.9612 GB, free: 13.48 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003915/1.324, allocations: 1.136 MB / 0.9623 GB, free: 12.87 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002038/1.324, allocations: 158.1 kB / 0.9625 GB, free: 12.86 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001202/1.325, allocations: 199.7 kB / 0.9627 GB, free: 12.86 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01736/1.342, allocations: 3.087 MB / 0.9657 GB, free: 11.85 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.947e-05/1.343, allocations: 0 / 0.9657 GB, free: 11.85 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004484/1.343, allocations: 89.16 kB / 0.9658 GB, free: 11.85 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-05/1.343, allocations: 53.97 kB / 0.9658 GB, free: 11.84 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02335/1.366, allocations: 4.073 MB / 0.9698 GB, free: 10.85 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02717/1.394, allocations: 6.624 MB / 0.9763 GB, free: 7.945 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01749/1.411, allocations: 2.729 MB / 0.9789 GB, free: 7.402 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007887/1.419, allocations: 1.381 MB / 0.9803 GB, free: 7.16 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001329/1.421, allocations: 0.5098 MB / 0.9808 GB, free: 6.648 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009317/1.43, allocations: 1.636 MB / 0.9824 GB, free: 6.09 MB / 490.7 MB Notification: Performance of pre-optimization done (n=192): time 1.126e-05/1.43, allocations: 0 / 0.9824 GB, free: 6.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=192): time 0.02707/1.457, allocations: 4.039 MB / 0.9863 GB, free: 5.137 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001442/1.457, allocations: 209.4 kB / 0.9865 GB, free: 4.91 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001671/1.459, allocations: 0.8244 MB / 0.9873 GB, free: 4.629 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007211/1.46, allocations: 58.11 kB / 0.9874 GB, free: 4.598 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008165/1.461, allocations: 0.6846 MB / 0.988 GB, free: 4.176 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001312/1.462, allocations: 0.6218 MB / 0.9886 GB, free: 3.719 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002809/1.462, allocations: 35.81 kB / 0.9887 GB, free: 3.719 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002148/1.462, allocations: 372.6 kB / 0.989 GB, free: 3.387 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007381/1.47, allocations: 1.14 MB / 0.9901 GB, free: 3.164 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008067/1.478, allocations: 1.304 MB / 0.9914 GB, free: 2.844 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007648/1.486, allocations: 1.184 MB / 0.9926 GB, free: 2.66 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.459e-05/1.486, allocations: 2.875 kB / 0.9926 GB, free: 2.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=214) (initialization): time 0.01824/1.504, allocations: 2.84 MB / 0.9954 GB, free: 1.621 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.407e-05/1.504, allocations: 8 kB / 0.9954 GB, free: 1.613 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/1.504, allocations: 1.859 kB / 0.9954 GB, free: 1.613 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00106/1.505, allocations: 95.02 kB / 0.9955 GB, free: 1.523 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01126/1.516, allocations: 0.5527 MB / 0.996 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005477/1.522, allocations: 1.52 MB / 0.9975 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005897/1.528, allocations: 318.6 kB / 0.9978 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008272/1.529, allocations: 91.33 kB / 0.9979 GB, free: 15.09 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (212): * Single equations (assignments): 211 * 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.002055/1.531, allocations: 408.2 kB / 0.9983 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007013/1.532, allocations: 142.2 kB / 0.9984 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02132/1.553, allocations: 3.381 MB / 1.002 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.807e-05/1.553, allocations: 15.95 kB / 1.002 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/1.553, allocations: 0 / 1.002 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001906/1.555, allocations: 0.5204 MB / 1.002 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005548/1.556, allocations: 34.94 kB / 1.002 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005273/1.561, allocations: 251.9 kB / 1.002 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005399/1.561, allocations: 122.5 kB / 1.003 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02188/1.583, allocations: 3.119 MB / 1.006 GB, free: 9.242 MB / 0.4948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.04378/1.627, allocations: 4.576 MB / 1.01 GB, free: 6.074 MB / 0.4948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007932/1.635, allocations: 1.381 MB / 1.011 GB, free: 5.145 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001528/1.637, allocations: 0.6097 MB / 1.012 GB, free: 4.684 MB / 0.4948 GB Notification: Performance of Backend: time 6.61e-07/1.637, allocations: 0 / 1.012 GB, free: 4.684 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01332/1.65, allocations: 2.334 MB / 1.014 GB, free: 3.059 MB / 0.4948 GB Notification: Performance of SimCode: time 0.01053/1.661, allocations: 3.977 MB / 1.018 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of Templates: time 0.09933/1.76, allocations: 33.27 MB / 1.051 GB, free: 14.1 MB / 0.5417 GB