Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.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.WeatherData.Validation.ReaderTMY3HDirNor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002434/0.002433, allocations: 357.2 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.624/1.624, allocations: 165.8 MB / 182.5 MB, free: 5.367 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 3.959/3.959, allocations: 410.8 MB / 0.5995 GB, free: 15.1 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.001699/0.001698, allocations: 199 kB / 0.6662 GB, free: 6.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004749/0.0004752, allocations: 12 kB / 0.7423 GB, free: 8.977 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3422, allocations: 67.44 MB / 0.8081 GB, free: 28.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.004189/0.3464, allocations: 3.59 MB / 0.8116 GB, free: 25.2 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.5476/0.8941, allocations: 136.3 MB / 0.9447 GB, free: 1.328 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009899/0.8951, allocations: 16.56 kB / 0.9447 GB, free: 1.328 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005082/0.8957, allocations: 72.41 kB / 0.9448 GB, free: 1.328 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002833/0.8985, allocations: 396.6 kB / 0.9452 GB, free: 1.316 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003978/0.9026, allocations: 0.5884 MB / 0.9458 GB, free: 1.309 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.002497/0.9051, allocations: 1.057 MB / 0.9468 GB, free: 1.305 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001396/0.9065, allocations: 392.1 kB / 0.9472 GB, free: 1.23 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001011/0.9076, allocations: 295.5 kB / 0.9474 GB, free: 1.23 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006134/0.9082, allocations: 321.5 kB / 0.9477 GB, free: 1.199 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001/0.9084, allocations: 22.53 kB / 0.9478 GB, free: 1.199 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001854/0.9102, allocations: 0.6446 MB / 0.9484 GB, free: 1.176 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000212/0.9105, allocations: 164.8 kB / 0.9486 GB, free: 1.141 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002046/0.9107, allocations: 173.4 kB / 0.9487 GB, free: 1.074 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001622/0.9123, allocations: 1.123 MB / 0.9498 GB, free: 0.9883 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.82e-06/0.9124, allocations: 0 / 0.9498 GB, free: 0.9883 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.477e-06/0.9124, allocations: 0 / 0.9498 GB, free: 0.9883 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.447e-05/0.9124, allocations: 3.938 kB / 0.9498 GB, free: 0.9844 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002598/0.915, allocations: 1.138 MB / 0.9509 GB, free: 268 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.9151, allocations: 13.75 kB / 0.9509 GB, free: 264 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00143/0.9165, allocations: 205 kB / 0.9511 GB, free: 204 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/0.918, allocations: 0.6605 MB / 0.9518 GB, free: 15.91 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.356e-05/0.9181, allocations: 55.58 kB / 0.9518 GB, free: 15.91 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000161/0.9182, allocations: 68.91 kB / 0.9519 GB, free: 15.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002221/0.9205, allocations: 0.824 MB / 0.9527 GB, free: 15.74 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/0.9205, allocations: 8 kB / 0.9527 GB, free: 15.73 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/0.9206, allocations: 36.33 kB / 0.9527 GB, free: 15.73 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.358e-05/0.9207, allocations: 16.94 kB / 0.9528 GB, free: 15.73 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002573/0.9233, allocations: 1.086 MB / 0.9538 GB, free: 15.71 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005447/0.9287, allocations: 2.371 MB / 0.9561 GB, free: 14.84 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001838/0.9306, allocations: 0.7489 MB / 0.9569 GB, free: 14.79 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008483/0.9315, allocations: 312 kB / 0.9572 GB, free: 14.77 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001118/0.9316, allocations: 37.47 kB / 0.9572 GB, free: 14.77 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001336/0.933, allocations: 472.1 kB / 0.9577 GB, free: 14.69 MB / 490.7 MB Notification: Performance of pre-optimization done (n=73): time 4.64e-06/0.933, allocations: 0.5 kB / 0.9577 GB, free: 14.69 MB / 490.7 MB Notification: Performance of matching and sorting (n=73): time 0.004175/0.9372, allocations: 1.183 MB / 0.9588 GB, free: 14.49 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001367/0.9374, allocations: 193.4 kB / 0.959 GB, free: 14.26 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009601/0.9383, allocations: 0.5862 MB / 0.9596 GB, free: 14.12 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000149/0.9385, allocations: 37.45 kB / 0.9596 GB, free: 14.09 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003339/0.9389, allocations: 356.5 kB / 0.9599 GB, free: 13.93 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002708/0.9391, allocations: 237.5 kB / 0.9602 GB, free: 13.78 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.413e-05/0.9392, allocations: 11.94 kB / 0.9602 GB, free: 13.78 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002257/0.9394, allocations: 384.6 kB / 0.9606 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008487/0.9403, allocations: 271.1 kB / 0.9608 GB, free: 13.46 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009124/0.9412, allocations: 367.7 kB / 0.9612 GB, free: 13.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000877/0.9421, allocations: 315.4 kB / 0.9615 GB, free: 13.39 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.208e-06/0.9422, allocations: 1.859 kB / 0.9615 GB, free: 13.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002842/0.945, allocations: 0.8517 MB / 0.9623 GB, free: 13.27 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.9451, allocations: 5.312 kB / 0.9623 GB, free: 13.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.9451, allocations: 2.969 kB / 0.9623 GB, free: 13.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006492/0.9458, allocations: 90.25 kB / 0.9624 GB, free: 13.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.9468, allocations: 161.2 kB / 0.9625 GB, free: 13.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002619/0.9494, allocations: 1.538 MB / 0.964 GB, free: 11.94 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/0.9505, allocations: 98.36 kB / 0.9641 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/0.9506, allocations: 39.72 kB / 0.9642 GB, free: 11.91 MB / 490.7 MB 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.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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.0005645/0.9512, allocations: 254.9 kB / 0.9644 GB, free: 11.78 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002041/0.9514, allocations: 77.44 kB / 0.9645 GB, free: 11.74 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003514/0.955, allocations: 1.129 MB / 0.9656 GB, free: 11.58 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/0.955, allocations: 11.31 kB / 0.9656 GB, free: 11.58 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.052e-06/0.955, allocations: 0 / 0.9656 GB, free: 11.58 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.518e-05/0.9551, allocations: 4.922 kB / 0.9656 GB, free: 11.58 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001321/0.9564, allocations: 0.8307 MB / 0.9664 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.696e-06/0.9564, allocations: 0 / 0.9664 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008661/0.9573, allocations: 166.8 kB / 0.9666 GB, free: 11.35 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005904/0.9579, allocations: 87.08 kB / 0.9667 GB, free: 11.33 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.057e-05/0.958, allocations: 27.11 kB / 0.9667 GB, free: 11.33 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0024/0.9604, allocations: 1.56 MB / 0.9682 GB, free: 9.965 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.611e-06/0.9604, allocations: 0 / 0.9682 GB, free: 9.965 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002776/0.9632, allocations: 0.9139 MB / 0.9691 GB, free: 9.707 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006087/0.9639, allocations: 277 kB / 0.9694 GB, free: 9.516 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001505/0.964, allocations: 19.16 kB / 0.9694 GB, free: 9.512 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007579/0.9648, allocations: 77.45 kB / 0.9695 GB, free: 9.488 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001789/0.965, allocations: 64.81 kB / 0.9695 GB, free: 9.465 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.422e-05/0.9651, allocations: 33.2 kB / 0.9696 GB, free: 9.461 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006782/0.9658, allocations: 421 kB / 0.97 GB, free: 9.309 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.88e-07/0.9658, allocations: 0 / 0.97 GB, free: 9.309 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009878/0.9668, allocations: 279.9 kB / 0.9702 GB, free: 9.254 MB / 490.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,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 2 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * 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.001837/0.9687, allocations: 0.558 MB / 0.9708 GB, free: 9.016 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002286/0.971, allocations: 0.8337 MB / 0.9716 GB, free: 8.766 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.297e-06/0.971, allocations: 2.969 kB / 0.9716 GB, free: 8.766 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001253/0.9723, allocations: 0.5132 MB / 0.9721 GB, free: 8.578 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001385/0.9737, allocations: 248.8 kB / 0.9723 GB, free: 8.516 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004801/0.9785, allocations: 2.024 MB / 0.9743 GB, free: 7.418 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007862/0.9793, allocations: 1.009 MB / 0.9753 GB, free: 6.578 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001336/0.9807, allocations: 261.2 kB / 0.9755 GB, free: 6.445 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003528/0.9811, allocations: 100.8 kB / 0.9756 GB, free: 6.422 MB / 490.7 MB Notification: Performance of SimCode: time 2.765e-06/0.9811, allocations: 0 / 0.9756 GB, free: 6.422 MB / 490.7 MB Notification: Performance of Templates: time 0.03199/1.013, allocations: 13.08 MB / 0.9884 GB, free: 15.87 MB / 0.4948 GB