Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3") translateModel(BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001355/0.001355, allocations: 108.2 kB / 16.41 MB, free: 6.488 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.001243/0.001244, allocations: 183 kB / 17.34 MB, free: 5.766 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002201/0.002201, allocations: 287.7 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9166/0.9166, allocations: 169.2 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001774, allocations: 95.84 kB / 0.6821 GB, free: 7.023 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.515/0.5168, allocations: 86.98 MB / 0.767 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.008677/0.5255, allocations: 6.692 MB / 0.7735 GB, free: 13.23 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1719/0.6975, allocations: 153.4 MB / 0.9234 GB, free: 3.223 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002301/0.6998, allocations: 35.81 kB / 0.9234 GB, free: 3.188 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001094/0.701, allocations: 324.9 kB / 0.9237 GB, free: 2.867 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.003059/0.7041, allocations: 0.7229 MB / 0.9244 GB, free: 2.145 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003379/0.7074, allocations: 1.37 MB / 0.9257 GB, free: 0.7891 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00317/0.7106, allocations: 2.582 MB / 0.9283 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001456/0.7121, allocations: 1.099 MB / 0.9293 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001275/0.7134, allocations: 0.872 MB / 0.9302 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001013/0.7144, allocations: 0.8984 MB / 0.9311 GB, free: 11.27 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0003201/0.7147, allocations: 212 kB / 0.9313 GB, free: 11.06 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001724/0.7165, allocations: 0.9793 MB / 0.9322 GB, free: 10.08 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0004578/0.7169, allocations: 0.5373 MB / 0.9327 GB, free: 9.543 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0008881/0.7178, allocations: 1.003 MB / 0.9337 GB, free: 8.535 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.003498/0.7213, allocations: 2.97 MB / 0.9366 GB, free: 5.559 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.7214, allocations: 0 / 0.9366 GB, free: 5.559 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.392e-06/0.7214, allocations: 3.938 kB / 0.9366 GB, free: 5.555 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.654e-05/0.7214, allocations: 0 / 0.9366 GB, free: 5.555 MB / 0.7012 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.004353/0.7258, allocations: 2.35 MB / 0.9389 GB, free: 3.141 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.7258, allocations: 12.03 kB / 0.9389 GB, free: 3.129 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001909/0.7277, allocations: 382 kB / 0.9393 GB, free: 2.754 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0021/0.7299, allocations: 1.314 MB / 0.9406 GB, free: 1.383 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.683e-05/0.73, allocations: 114.8 kB / 0.9407 GB, free: 1.27 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001765/0.7302, allocations: 139.9 kB / 0.9408 GB, free: 1.133 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002807/0.733, allocations: 1.658 MB / 0.9424 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.942e-05/0.733, allocations: 0 / 0.9424 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001434/0.7332, allocations: 67.98 kB / 0.9425 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.105e-05/0.7332, allocations: 36 kB / 0.9425 GB, free: 15.28 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0034/0.7366, allocations: 2.146 MB / 0.9446 GB, free: 13.13 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007744/0.7444, allocations: 4.675 MB / 0.9492 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003415/0.7478, allocations: 1.612 MB / 0.9508 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001081/0.7489, allocations: 0.595 MB / 0.9514 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001355/0.7491, allocations: 65.2 kB / 0.9514 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001669/0.7507, allocations: 0.9383 MB / 0.9523 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=154): time 3.536e-06/0.7508, allocations: 4 kB / 0.9523 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of matching and sorting (n=154): time 0.006362/0.7571, allocations: 2.374 MB / 0.9547 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002016/0.7573, allocations: 355.4 kB / 0.955 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001707/0.7591, allocations: 1.158 MB / 0.9561 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001571/0.7592, allocations: 61.69 kB / 0.9562 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006045/0.7598, allocations: 0.6502 MB / 0.9568 GB, free: 384 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.4824/1.242, allocations: 493.9 kB / 0.9573 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008508/1.243, allocations: 318 kB / 0.9576 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.191e-05/1.243, allocations: 305.6 kB / 0.9579 GB, free: 187 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00145/1.245, allocations: 0.5298 MB / 0.9584 GB, free: 187 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001579/1.246, allocations: 0.7289 MB / 0.9591 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002582/1.249, allocations: 1.248 MB / 0.9603 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/1.249, allocations: 1.531 kB / 0.9603 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004313/1.253, allocations: 1.694 MB / 0.962 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/1.253, allocations: 6.125 kB / 0.962 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/1.253, allocations: 2.406 kB / 0.962 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001158/1.254, allocations: 169.8 kB / 0.9622 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/1.256, allocations: 324 kB / 0.9625 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003376/1.259, allocations: 3.287 MB / 0.9657 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/1.261, allocations: 183.8 kB / 0.9659 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000142/1.261, allocations: 78.02 kB / 0.9659 GB, free: 182.4 MB / 0.7169 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.0008039/1.262, allocations: 422 kB / 0.9663 GB, free: 182.2 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000335/1.262, allocations: 166.1 kB / 0.9665 GB, free: 182.1 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004843/1.267, allocations: 2.165 MB / 0.9686 GB, free: 181.3 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-05/1.267, allocations: 17.88 kB / 0.9686 GB, free: 181.3 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/1.267, allocations: 0.6094 kB / 0.9686 GB, free: 181.3 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-05/1.267, allocations: 10.38 kB / 0.9686 GB, free: 181.3 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002096/1.269, allocations: 1.614 MB / 0.9702 GB, free: 180.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/1.269, allocations: 3.938 kB / 0.9702 GB, free: 180.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/1.27, allocations: 292.8 kB / 0.9705 GB, free: 180.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008098/1.271, allocations: 146.8 kB / 0.9706 GB, free: 180.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/1.271, allocations: 50.25 kB / 0.9707 GB, free: 180.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002925/1.274, allocations: 3.348 MB / 0.974 GB, free: 177.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/1.274, allocations: 3.797 kB / 0.974 GB, free: 177.4 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003519/1.278, allocations: 1.817 MB / 0.9757 GB, free: 176.6 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006333/1.278, allocations: 459.7 kB / 0.9762 GB, free: 176.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002049/1.278, allocations: 46.92 kB / 0.9762 GB, free: 176.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/1.28, allocations: 123.4 kB / 0.9763 GB, free: 176.3 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002312/1.28, allocations: 138.7 kB / 0.9765 GB, free: 176.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/1.28, allocations: 75.27 kB / 0.9765 GB, free: 176.3 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009332/1.281, allocations: 0.8085 MB / 0.9773 GB, free: 175.8 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.4e-07/1.281, allocations: 4 kB / 0.9773 GB, free: 175.8 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001256/1.282, allocations: 0.5086 MB / 0.9778 GB, free: 175.3 MB / 0.7169 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.001334/1.283, allocations: 0.6471 MB / 0.9785 GB, free: 174.9 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002933/1.286, allocations: 1.687 MB / 0.9801 GB, free: 173.4 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/1.286, allocations: 4 kB / 0.9801 GB, free: 173.4 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001507/1.288, allocations: 1.036 MB / 0.9811 GB, free: 172.4 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001898/1.29, allocations: 0.5625 MB / 0.9817 GB, free: 171.8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006085/1.296, allocations: 3.326 MB / 0.9849 GB, free: 168.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005818/1.297, allocations: 1.334 MB / 0.9862 GB, free: 167.1 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005719/1.297, allocations: 223.3 kB / 0.9864 GB, free: 166.9 MB / 0.7169 GB Notification: Performance of SimCode: time 9.32e-07/1.297, allocations: 0 / 0.9864 GB, free: 166.9 MB / 0.7169 GB Notification: Performance of Templates: time 0.04118/1.338, allocations: 40.45 MB / 1.026 GB, free: 126.6 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)