Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3") translateModel(IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008873/0.0008874, allocations: 174.6 kB / 16.08 MB, free: 5.73 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4518/0.4518, allocations: 89.07 MB / 105.9 MB, free: 12.45 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 225.7 MB / 353.3 MB, free: 1.086 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007444/0.0007443, allocations: 94.3 kB / 425.4 MB, free: 6.609 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003083/0.0003083, allocations: 8 kB / 0.4955 GB, free: 4.504 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2519, allocations: 71.33 MB / 0.5652 GB, free: 42.31 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.004549/0.2565, allocations: 5.369 MB / 0.5704 GB, free: 36.91 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.3589/0.6154, allocations: 143.2 MB / 0.7103 GB, free: 16.04 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007454/0.6162, allocations: 31.06 kB / 0.7103 GB, free: 16.04 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0005455/0.6167, allocations: 245.4 kB / 0.7106 GB, free: 16.04 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001447/0.6182, allocations: 0.5531 MB / 0.7111 GB, free: 16.01 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002456/0.6207, allocations: 1.149 MB / 0.7122 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001783/0.6225, allocations: 2.155 MB / 0.7143 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001061/0.6235, allocations: 1.018 MB / 0.7153 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006749/0.6242, allocations: 0.5667 MB / 0.7159 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005385/0.6248, allocations: 0.6103 MB / 0.7165 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001282/0.6249, allocations: 40.59 kB / 0.7165 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001199/0.6261, allocations: 0.7479 MB / 0.7172 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002562/0.6264, allocations: 320.7 kB / 0.7175 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.000548/0.6269, allocations: 0.7333 MB / 0.7183 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001903/0.6288, allocations: 2.468 MB / 0.7207 GB, free: 15.51 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.6288, allocations: 0 / 0.7207 GB, free: 15.51 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6289, allocations: 0 / 0.7207 GB, free: 15.51 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.363e-05/0.6289, allocations: 0 / 0.7207 GB, free: 15.51 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.002573/0.6315, allocations: 1.791 MB / 0.7224 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.6315, allocations: 13.14 kB / 0.7224 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001561/0.6331, allocations: 379.8 kB / 0.7228 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001353/0.6344, allocations: 1.198 MB / 0.724 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.858e-05/0.6345, allocations: 104.1 kB / 0.7241 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.6346, allocations: 129 kB / 0.7242 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002588/0.6372, allocations: 1.526 MB / 0.7257 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.579e-05/0.6373, allocations: 1.062 kB / 0.7257 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001254/0.6374, allocations: 56.62 kB / 0.7257 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.022e-05/0.6375, allocations: 33.06 kB / 0.7258 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002965/0.6404, allocations: 2.054 MB / 0.7278 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005932/0.6464, allocations: 4.501 MB / 0.7322 GB, free: 12.28 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002326/0.6487, allocations: 1.425 MB / 0.7336 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000847/0.6496, allocations: 0.5439 MB / 0.7341 GB, free: 12.19 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001092/0.6497, allocations: 59.16 kB / 0.7341 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001244/0.651, allocations: 0.7921 MB / 0.7349 GB, free: 12.08 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=136): time 3.046e-06/0.651, allocations: 1.969 kB / 0.7349 GB, free: 12.08 MB / 0.5105 GB Notification: Performance of matching and sorting (n=136): time 0.004909/0.6559, allocations: 2.133 MB / 0.737 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000152/0.6561, allocations: 349.1 kB / 0.7373 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/0.6572, allocations: 1.065 MB / 0.7384 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.243e-05/0.6573, allocations: 53.78 kB / 0.7384 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003861/0.6577, allocations: 0.6144 MB / 0.739 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003062/0.658, allocations: 451.6 kB / 0.7395 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.357e-05/0.6581, allocations: 27.19 kB / 0.7395 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.6582, allocations: 358.3 kB / 0.7398 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008519/0.6591, allocations: 484.8 kB / 0.7403 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/0.6601, allocations: 0.6564 MB / 0.7409 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001752/0.6619, allocations: 1.12 MB / 0.742 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.6619, allocations: 3.938 kB / 0.742 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003177/0.6651, allocations: 1.53 MB / 0.7435 GB, free: 9.875 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.6651, allocations: 6.516 kB / 0.7435 GB, free: 9.875 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.6651, allocations: 3.156 kB / 0.7435 GB, free: 9.875 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/0.6661, allocations: 170.6 kB / 0.7437 GB, free: 9.852 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/0.6672, allocations: 300.7 kB / 0.744 GB, free: 9.848 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003503/0.6708, allocations: 3.063 MB / 0.747 GB, free: 7.234 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/0.6719, allocations: 179.9 kB / 0.7471 GB, free: 7.145 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/0.6721, allocations: 66.33 kB / 0.7472 GB, free: 7.133 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.conTim.canRepeatWeatherFile,$whenCondition4,$whenCondition3,$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 (161): * Single equations (assignments): 159 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006003/0.6727, allocations: 383.1 kB / 0.7476 GB, free: 7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001899/0.6729, allocations: 148.1 kB / 0.7477 GB, free: 6.922 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00411/0.677, allocations: 1.988 MB / 0.7497 GB, free: 6.367 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.677, allocations: 21.72 kB / 0.7497 GB, free: 6.363 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.677, allocations: 0 / 0.7497 GB, free: 6.363 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.34e-05/0.6771, allocations: 7.969 kB / 0.7497 GB, free: 6.355 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001524/0.6786, allocations: 1.474 MB / 0.7511 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/0.6786, allocations: 3.984 kB / 0.7511 GB, free: 5.746 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/0.6796, allocations: 278.7 kB / 0.7514 GB, free: 5.707 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009241/0.6806, allocations: 169 kB / 0.7516 GB, free: 5.641 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.082e-05/0.6807, allocations: 42.69 kB / 0.7516 GB, free: 5.633 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003215/0.6839, allocations: 3.128 MB / 0.7546 GB, free: 2.902 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.6839, allocations: 240 / 0.7546 GB, free: 2.902 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003078/0.687, allocations: 1.624 MB / 0.7562 GB, free: 2.48 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006118/0.6876, allocations: 460.6 kB / 0.7567 GB, free: 2.199 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001765/0.6878, allocations: 33.81 kB / 0.7567 GB, free: 2.199 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009211/0.6887, allocations: 142.2 kB / 0.7568 GB, free: 2.16 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002086/0.6889, allocations: 116.6 kB / 0.757 GB, free: 2.109 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001052/0.689, allocations: 62.09 kB / 0.757 GB, free: 2.102 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008883/0.6899, allocations: 0.7296 MB / 0.7577 GB, free: 1.879 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.12e-07/0.69, allocations: 0 / 0.7577 GB, free: 1.879 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001092/0.691, allocations: 485 kB / 0.7582 GB, free: 1.793 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,weaDat.conTimMin.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 4 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001287/0.6923, allocations: 0.7055 MB / 0.7589 GB, free: 1.465 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002589/0.6949, allocations: 1.516 MB / 0.7604 GB, free: 1.023 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.695, allocations: 0 / 0.7604 GB, free: 1.023 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001486/0.6965, allocations: 0.955 MB / 0.7613 GB, free: 0.6875 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001808/0.6983, allocations: 0.5 MB / 0.7618 GB, free: 0.5508 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006786/0.7051, allocations: 3.852 MB / 0.7655 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009896/0.7061, allocations: 1.29 MB / 0.7668 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001662/0.7077, allocations: 0.4965 MB / 0.7673 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004407/0.7082, allocations: 177.2 kB / 0.7675 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of SimCode: time 4.71e-07/0.7082, allocations: 7.938 kB / 0.7675 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of Templates: time 0.03864/0.7468, allocations: 24.43 MB / 0.7913 GB, free: 4.5 MB / 0.5417 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)