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.001259/0.001259, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001234/0.001234, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.387/1.387, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002209/0.002209, allocations: 292.9 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9509/0.9509, allocations: 169.2 MB / 0.4988 GB, free: 4.496 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 102.8 kB / 0.5959 GB, free: 15.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1771, allocations: 86.97 MB / 0.6808 GB, free: 8.219 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.009129/0.1863, allocations: 6.686 MB / 0.6874 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5275/0.7138, allocations: 153.4 MB / 0.8371 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001549/0.7154, allocations: 35.81 kB / 0.8372 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001158/0.7166, allocations: 328.9 kB / 0.8375 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002743/0.7194, allocations: 0.7334 MB / 0.8382 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003585/0.723, allocations: 1.362 MB / 0.8395 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003208/0.7262, allocations: 2.558 MB / 0.842 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001884/0.7281, allocations: 1.092 MB / 0.8431 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001471/0.7296, allocations: 0.8603 MB / 0.8439 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001528/0.7311, allocations: 0.91 MB / 0.8448 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0006058/0.7318, allocations: 212 kB / 0.845 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002282/0.734, allocations: 0.9404 MB / 0.846 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007749/0.7348, allocations: 0.5374 MB / 0.8465 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001664/0.7365, allocations: 1.006 MB / 0.8475 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004574/0.7411, allocations: 2.888 MB / 0.8503 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.7411, allocations: 0 / 0.8503 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7411, allocations: 0 / 0.8503 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001071/0.7412, allocations: 0 / 0.8503 GB, free: 1.418 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.005633/0.7469, allocations: 2.356 MB / 0.8526 GB, free: 15 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.7469, allocations: 12.02 kB / 0.8526 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002271/0.7492, allocations: 378.4 kB / 0.853 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002358/0.7516, allocations: 1.271 MB / 0.8542 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/0.7517, allocations: 115.8 kB / 0.8543 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002746/0.752, allocations: 140 kB / 0.8544 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003471/0.7555, allocations: 1.658 MB / 0.8561 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.136e-05/0.7555, allocations: 0 / 0.8561 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001992/0.7557, allocations: 64 kB / 0.8561 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.216e-05/0.7558, allocations: 36 kB / 0.8562 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003694/0.7595, allocations: 2.146 MB / 0.8583 GB, free: 9.047 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008263/0.7678, allocations: 4.742 MB / 0.8629 GB, free: 4.219 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00332/0.7711, allocations: 1.61 MB / 0.8645 GB, free: 2.602 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001188/0.7723, allocations: 0.5912 MB / 0.865 GB, free: 2 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001233/0.7725, allocations: 61.2 kB / 0.8651 GB, free: 1.941 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001807/0.7743, allocations: 0.9375 MB / 0.866 GB, free: 0.9844 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=154): time 4.479e-06/0.7743, allocations: 4 kB / 0.866 GB, free: 0.9805 MB / 0.6231 GB Notification: Performance of matching and sorting (n=154): time 0.006519/0.7808, allocations: 2.378 MB / 0.8683 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001776/0.781, allocations: 355.5 kB / 0.8687 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001984/0.783, allocations: 1.162 MB / 0.8698 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001437/0.7832, allocations: 57.7 kB / 0.8699 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006294/0.7838, allocations: 0.6579 MB / 0.8705 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004381/0.7843, allocations: 496.8 kB / 0.871 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005477/0.7848, allocations: 311.3 kB / 0.8713 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.7849, allocations: 305.1 kB / 0.8716 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001184/0.7861, allocations: 0.5349 MB / 0.8721 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00139/0.7875, allocations: 0.7351 MB / 0.8728 GB, free: 9.816 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002427/0.79, allocations: 1.233 MB / 0.874 GB, free: 8.555 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/0.79, allocations: 0 / 0.874 GB, free: 8.555 MB / 0.6387 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004507/0.7945, allocations: 1.7 MB / 0.8757 GB, free: 6.84 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.7945, allocations: 4 kB / 0.8757 GB, free: 6.836 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.7946, allocations: 8.078 kB / 0.8757 GB, free: 6.828 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/0.7957, allocations: 173.7 kB / 0.8759 GB, free: 6.652 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/0.797, allocations: 315.5 kB / 0.8762 GB, free: 6.344 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004017/0.801, allocations: 3.305 MB / 0.8794 GB, free: 2.746 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001602/0.8026, allocations: 183.3 kB / 0.8796 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001917/0.8028, allocations: 75.95 kB / 0.8796 GB, free: 2.492 MB / 0.6387 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.0009001/0.8037, allocations: 426.9 kB / 0.88 GB, free: 2.07 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000481/0.8042, allocations: 158 kB / 0.8802 GB, free: 1.914 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005283/0.8095, allocations: 2.181 MB / 0.8823 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/0.8095, allocations: 20 kB / 0.8823 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.8096, allocations: 0 / 0.8823 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.811e-05/0.8096, allocations: 7.969 kB / 0.8823 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002436/0.812, allocations: 1.618 MB / 0.8839 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.657e-05/0.8121, allocations: 0 / 0.8839 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001122/0.8132, allocations: 287.6 kB / 0.8842 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008635/0.8141, allocations: 145.6 kB / 0.8843 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001482/0.8142, allocations: 51.97 kB / 0.8844 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003779/0.818, allocations: 3.34 MB / 0.8876 GB, free: 9.891 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.818, allocations: 0 / 0.8876 GB, free: 9.891 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004297/0.8223, allocations: 1.827 MB / 0.8894 GB, free: 8.039 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008337/0.8232, allocations: 470.3 kB / 0.8899 GB, free: 7.559 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003745/0.8236, allocations: 36 kB / 0.8899 GB, free: 7.523 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001379/0.825, allocations: 130.7 kB / 0.89 GB, free: 7.398 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002753/0.8252, allocations: 137.8 kB / 0.8902 GB, free: 7.266 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001442/0.8254, allocations: 76.02 kB / 0.8902 GB, free: 7.191 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001319/0.8267, allocations: 0.8028 MB / 0.891 GB, free: 6.387 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8267, allocations: 0 / 0.891 GB, free: 6.387 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001494/0.8282, allocations: 0.5145 MB / 0.8915 GB, free: 5.871 MB / 0.6544 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.001544/0.8298, allocations: 0.6486 MB / 0.8922 GB, free: 5.395 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.005022/0.8348, allocations: 2.073 MB / 0.8942 GB, free: 3.301 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.8348, allocations: 0 / 0.8942 GB, free: 3.301 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002196/0.837, allocations: 1.039 MB / 0.8952 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00262/0.8397, allocations: 0.5608 MB / 0.8957 GB, free: 1.727 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008098/0.8478, allocations: 3.376 MB / 0.899 GB, free: 14.32 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001335/0.8492, allocations: 1.34 MB / 0.9004 GB, free: 12.95 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006653/0.8498, allocations: 227.2 kB / 0.9006 GB, free: 12.72 MB / 0.67 GB Notification: Performance of SimCode: time 7.51e-07/0.8498, allocations: 0 / 0.9006 GB, free: 12.72 MB / 0.67 GB Notification: Performance of Templates: time 0.05371/0.9036, allocations: 40.23 MB / 0.9399 GB, free: 4.598 MB / 0.7012 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)