Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 106.3 kB / 16.45 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 197.1 kB / 17.39 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 225.6 MB / 243.8 MB, free: 14.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8801/0.8801, allocations: 127 MB / 423.7 MB, free: 8.926 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 69.92 kB / 0.5876 GB, free: 22.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1771, allocations: 82.94 MB / 0.6686 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.009543/0.1867, allocations: 7.211 MB / 0.6757 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.6261/0.8127, allocations: 153.9 MB / 0.8259 GB, free: 5.375 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001708/0.8145, allocations: 37.12 kB / 0.826 GB, free: 5.363 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001048/0.8155, allocations: 344 kB / 0.8263 GB, free: 5.098 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003098/0.8186, allocations: 0.785 MB / 0.8271 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003175/0.8218, allocations: 1.434 MB / 0.8285 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003166/0.8249, allocations: 2.651 MB / 0.8311 GB, free: 2.109 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001231/0.8262, allocations: 0.7124 MB / 0.8318 GB, free: 1.57 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001552/0.8277, allocations: 0.8805 MB / 0.8326 GB, free: 1.039 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00137/0.8291, allocations: 0.9182 MB / 0.8335 GB, free: 396 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003086/0.8294, allocations: 212.6 kB / 0.8337 GB, free: 396 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002012/0.8314, allocations: 0.9814 MB / 0.8347 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005661/0.832, allocations: 0.5331 MB / 0.8352 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001037/0.833, allocations: 1.012 MB / 0.8362 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003983/0.837, allocations: 3.014 MB / 0.8391 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.837, allocations: 0 / 0.8391 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.804e-06/0.837, allocations: 0 / 0.8391 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.808e-05/0.8371, allocations: 0 / 0.8391 GB, free: 12.61 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 367 * Number of variables: 367 Notification: Performance of Generate backend data structure: time 0.00482/0.8419, allocations: 2.435 MB / 0.8415 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.8419, allocations: 14.12 kB / 0.8415 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002198/0.8441, allocations: 388.1 kB / 0.8419 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002381/0.8465, allocations: 1.325 MB / 0.8432 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/0.8466, allocations: 104.9 kB / 0.8433 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001832/0.8468, allocations: 138.2 kB / 0.8434 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003102/0.8499, allocations: 1.657 MB / 0.845 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.948e-05/0.8499, allocations: 0 / 0.845 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001608/0.8501, allocations: 75.55 kB / 0.8451 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.411e-05/0.8501, allocations: 32.75 kB / 0.8451 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003665/0.8538, allocations: 2.146 MB / 0.8472 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009169/0.8629, allocations: 4.911 MB / 0.852 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00372/0.8667, allocations: 1.512 MB / 0.8535 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001291/0.8679, allocations: 0.5506 MB / 0.854 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001474/0.8681, allocations: 69.2 kB / 0.8541 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001947/0.87, allocations: 0.9307 MB / 0.855 GB, free: 472 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=154): time 2.985e-06/0.87, allocations: 0 / 0.855 GB, free: 472 kB / 0.6075 GB Notification: Performance of matching and sorting (n=154): time 0.00756/0.8776, allocations: 2.383 MB / 0.8573 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002414/0.8778, allocations: 359.4 kB / 0.8577 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002027/0.8799, allocations: 1.17 MB / 0.8588 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002063/0.8801, allocations: 57.7 kB / 0.8589 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007056/0.8808, allocations: 0.663 MB / 0.8595 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005951/0.8814, allocations: 0.5113 MB / 0.86 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005769/0.882, allocations: 311.4 kB / 0.8603 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.8821, allocations: 309.1 kB / 0.8606 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001345/0.8835, allocations: 0.531 MB / 0.8611 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001667/0.8851, allocations: 0.7312 MB / 0.8619 GB, free: 9.25 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002755/0.8879, allocations: 1.237 MB / 0.8631 GB, free: 7.98 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.8879, allocations: 0 / 0.8631 GB, free: 7.98 MB / 0.6231 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004721/0.8926, allocations: 1.7 MB / 0.8647 GB, free: 6.266 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.8926, allocations: 4.375 kB / 0.8647 GB, free: 6.262 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/0.8927, allocations: 15.92 kB / 0.8647 GB, free: 6.246 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001217/0.8939, allocations: 165.5 kB / 0.8649 GB, free: 6.078 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001553/0.8954, allocations: 319.5 kB / 0.8652 GB, free: 5.766 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005419/0.9008, allocations: 3.298 MB / 0.8684 GB, free: 2.176 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002146/0.903, allocations: 191.9 kB / 0.8686 GB, free: 1.988 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002756/0.9033, allocations: 75.94 kB / 0.8687 GB, free: 1.914 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 34 (weaDatInpCon.conTim.canRepeatWeatherFile,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.decAng.tNext,$PRE.weaDatInpCon.decAng.tNext,weaDatInpCon.eqnTim.tNext,$PRE.weaDatInpCon.eqnTim.tNext,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.locTim.tNext,$PRE.weaDatInpCon.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (185): * Single equations (assignments): 183 * 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.001232/0.9045, allocations: 421.3 kB / 0.8691 GB, free: 1.492 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005954/0.9051, allocations: 178.9 kB / 0.8693 GB, free: 1.316 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005476/0.9106, allocations: 2.16 MB / 0.8714 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.116e-05/0.9106, allocations: 20 kB / 0.8714 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.9106, allocations: 0 / 0.8714 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.223e-05/0.9106, allocations: 15.95 kB / 0.8714 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002755/0.9134, allocations: 1.61 MB / 0.873 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/0.9134, allocations: 3.938 kB / 0.873 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001261/0.9146, allocations: 283.6 kB / 0.8732 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009296/0.9156, allocations: 153.6 kB / 0.8734 GB, free: 13 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001204/0.9157, allocations: 51.95 kB / 0.8734 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004392/0.9201, allocations: 3.336 MB / 0.8767 GB, free: 9.324 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.9201, allocations: 4.031 kB / 0.8767 GB, free: 9.32 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00483/0.9249, allocations: 1.824 MB / 0.8785 GB, free: 7.473 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001/0.9259, allocations: 475.3 kB / 0.8789 GB, free: 6.988 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002856/0.9262, allocations: 44 kB / 0.879 GB, free: 6.945 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001305/0.9275, allocations: 126.8 kB / 0.8791 GB, free: 6.824 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003166/0.9278, allocations: 149.7 kB / 0.8792 GB, free: 6.676 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001416/0.928, allocations: 67.95 kB / 0.8793 GB, free: 6.609 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001326/0.9293, allocations: 0.7989 MB / 0.8801 GB, free: 5.809 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9293, allocations: 0 / 0.8801 GB, free: 5.809 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001481/0.9308, allocations: 0.534 MB / 0.8806 GB, free: 5.273 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of discrete states: 10 (weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002191/0.933, allocations: 0.6612 MB / 0.8813 GB, free: 4.789 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004133/0.9371, allocations: 1.616 MB / 0.8828 GB, free: 3.148 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/0.9371, allocations: 4 kB / 0.8828 GB, free: 3.145 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002263/0.9394, allocations: 0.9847 MB / 0.8838 GB, free: 2.141 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002623/0.942, allocations: 0.5912 MB / 0.8844 GB, free: 1.594 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006617/0.9486, allocations: 3.114 MB / 0.8874 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001234/0.9498, allocations: 1.329 MB / 0.8887 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001927/0.9518, allocations: 0.5088 MB / 0.8892 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005623/0.9523, allocations: 203.3 kB / 0.8894 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of SimCode: time 2.104e-06/0.9523, allocations: 0 / 0.8894 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of Templates: time 0.05507/1.007, allocations: 28.93 MB / 0.9177 GB, free: 15.72 MB / 0.6856 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)