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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.754/0.754, allocations: 143.4 MB / 159.2 MB, free: 4.863 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 184.5 kB / 191.9 MB, free: 5.727 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 222.9 MB / 447.3 MB, free: 5.863 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 107.8 kB / 0.517 GB, free: 3.711 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002316/0.002316, allocations: 288.6 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 79.88 kB / 0.6885 GB, free: 3.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.3821, allocations: 81.29 MB / 0.7679 GB, free: 27.65 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.006418/0.3885, allocations: 6.199 MB / 0.774 GB, free: 21.44 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.5385/0.927, allocations: 150.8 MB / 0.9213 GB, free: 15.61 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00158/0.9287, allocations: 39.25 kB / 0.9213 GB, free: 15.6 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0007749/0.9295, allocations: 244.9 kB / 0.9215 GB, free: 15.6 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.001934/0.9314, allocations: 0.5565 MB / 0.9221 GB, free: 15.58 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002627/0.9341, allocations: 1.148 MB / 0.9232 GB, free: 15.55 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.00258/0.9367, allocations: 2.176 MB / 0.9253 GB, free: 15.53 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001321/0.938, allocations: 1.042 MB / 0.9264 GB, free: 15.32 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001191/0.9392, allocations: 0.6702 MB / 0.927 GB, free: 15.31 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009253/0.9401, allocations: 0.7341 MB / 0.9277 GB, free: 15.31 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001859/0.9403, allocations: 84.66 kB / 0.9278 GB, free: 15.31 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001627/0.942, allocations: 0.8142 MB / 0.9286 GB, free: 15.3 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0004028/0.9424, allocations: 394.7 kB / 0.929 GB, free: 15.29 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0009211/0.9433, allocations: 0.803 MB / 0.9298 GB, free: 15.28 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.002581/0.9459, allocations: 2.552 MB / 0.9323 GB, free: 14.92 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.9459, allocations: 0 / 0.9323 GB, free: 14.92 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.383e-06/0.9459, allocations: 0 / 0.9323 GB, free: 14.92 MB / 0.573 GB Notification: Performance of Transformations before backend: time 2.755e-05/0.946, allocations: 0 / 0.9323 GB, free: 14.92 MB / 0.573 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.003732/0.9497, allocations: 2.157 MB / 0.9344 GB, free: 13.82 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.9497, allocations: 9.281 kB / 0.9344 GB, free: 13.82 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001827/0.9516, allocations: 359.1 kB / 0.9347 GB, free: 13.71 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001781/0.9534, allocations: 1.199 MB / 0.9359 GB, free: 13.26 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.9535, allocations: 101.7 kB / 0.936 GB, free: 13.26 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002139/0.9537, allocations: 127.2 kB / 0.9361 GB, free: 13.26 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002759/0.9565, allocations: 1.521 MB / 0.9376 GB, free: 12.98 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.788e-05/0.9565, allocations: 4.875 kB / 0.9376 GB, free: 12.97 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001251/0.9567, allocations: 59.59 kB / 0.9376 GB, free: 12.97 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.305e-05/0.9567, allocations: 34.38 kB / 0.9377 GB, free: 12.97 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003011/0.9597, allocations: 2.041 MB / 0.9397 GB, free: 12.95 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006717/0.9664, allocations: 4.442 MB / 0.944 GB, free: 11.49 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002447/0.9689, allocations: 1.429 MB / 0.9454 GB, free: 11.41 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008991/0.9698, allocations: 0.5309 MB / 0.9459 GB, free: 11.39 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001044/0.9699, allocations: 62.52 kB / 0.946 GB, free: 11.39 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001394/0.9713, allocations: 0.7912 MB / 0.9468 GB, free: 11.23 MB / 0.573 GB Notification: Performance of pre-optimization done (n=136): time 2.705e-06/0.9714, allocations: 1.781 kB / 0.9468 GB, free: 11.23 MB / 0.573 GB Notification: Performance of matching and sorting (n=136): time 0.005446/0.9768, allocations: 2.111 MB / 0.9488 GB, free: 10.59 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001631/0.977, allocations: 352.8 kB / 0.9492 GB, free: 10.17 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/0.9784, allocations: 1.072 MB / 0.9502 GB, free: 9.852 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.000111/0.9785, allocations: 53.61 kB / 0.9503 GB, free: 9.82 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00044/0.9789, allocations: 0.6121 MB / 0.9509 GB, free: 9.523 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003406/0.9793, allocations: 453.3 kB / 0.9513 GB, free: 9.199 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003778/0.9797, allocations: 286.1 kB / 0.9516 GB, free: 9.129 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.9798, allocations: 359 kB / 0.9519 GB, free: 8.805 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009368/0.9807, allocations: 478.2 kB / 0.9524 GB, free: 8.73 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/0.9819, allocations: 0.6601 MB / 0.953 GB, free: 8.516 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002004/0.9839, allocations: 1.12 MB / 0.9541 GB, free: 8.293 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.9839, allocations: 2.406 kB / 0.9541 GB, free: 8.293 MB / 0.573 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003596/0.9875, allocations: 1.516 MB / 0.9556 GB, free: 7.938 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.9875, allocations: 14.06 kB / 0.9556 GB, free: 7.93 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.9876, allocations: 2.188 kB / 0.9556 GB, free: 7.93 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001071/0.9886, allocations: 163.2 kB / 0.9557 GB, free: 7.863 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.9897, allocations: 297 kB / 0.956 GB, free: 7.797 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003684/0.9934, allocations: 3.06 MB / 0.959 GB, free: 4.902 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/0.9948, allocations: 161.5 kB / 0.9592 GB, free: 4.797 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001261/0.995, allocations: 70.08 kB / 0.9592 GB, free: 4.77 MB / 0.573 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 (weaDatInpCon.conTim.canRepeatWeatherFile,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,$whenCondition1,$whenCondition2,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition3,$whenCondition4) * 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.0007655/0.9957, allocations: 385.4 kB / 0.9596 GB, free: 4.492 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002787/0.996, allocations: 152.5 kB / 0.9598 GB, free: 4.41 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004549/1.001, allocations: 1.975 MB / 0.9617 GB, free: 3.309 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/1.001, allocations: 21.34 kB / 0.9617 GB, free: 3.305 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/1.001, allocations: 96 / 0.9617 GB, free: 3.305 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.836e-05/1.001, allocations: 18.7 kB / 0.9617 GB, free: 3.289 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001972/1.003, allocations: 1.451 MB / 0.9631 GB, free: 2.285 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/1.003, allocations: 0 / 0.9631 GB, free: 2.285 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/1.004, allocations: 274.7 kB / 0.9634 GB, free: 2.223 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00097/1.005, allocations: 166.9 kB / 0.9636 GB, free: 2.137 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.669e-05/1.005, allocations: 49.31 kB / 0.9636 GB, free: 2.105 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003573/1.008, allocations: 3.119 MB / 0.9666 GB, free: 15.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/1.008, allocations: 0 / 0.9666 GB, free: 15.07 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005478/1.014, allocations: 3.083 MB / 0.9697 GB, free: 13.13 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007639/1.015, allocations: 435.3 kB / 0.9701 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001773/1.015, allocations: 31.28 kB / 0.9701 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009676/1.016, allocations: 108.7 kB / 0.9702 GB, free: 12.69 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002507/1.016, allocations: 113.5 kB / 0.9703 GB, free: 12.63 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001331/1.016, allocations: 63.95 kB / 0.9704 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001044/1.017, allocations: 0.7407 MB / 0.9711 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.8e-07/1.017, allocations: 0 / 0.9711 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001451/1.019, allocations: 483.7 kB / 0.9716 GB, free: 12.06 MB / 0.5886 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.001455/1.02, allocations: 0.6491 MB / 0.9722 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.00322/1.023, allocations: 1.502 MB / 0.9737 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/1.023, allocations: 4.062 kB / 0.9737 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001809/1.025, allocations: 0.9516 MB / 0.9746 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002253/1.028, allocations: 0.5064 MB / 0.9751 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007695/1.035, allocations: 4.538 MB / 0.9795 GB, free: 6.84 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009279/1.036, allocations: 1.337 MB / 0.9808 GB, free: 5.473 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001839/1.038, allocations: 499.6 kB / 0.9813 GB, free: 4.98 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004378/1.038, allocations: 191.3 kB / 0.9815 GB, free: 4.793 MB / 0.5886 GB Notification: Performance of SimCode: time 5.91e-07/1.038, allocations: 0 / 0.9815 GB, free: 4.793 MB / 0.5886 GB Notification: Performance of Templates: time 0.03919/1.078, allocations: 25.31 MB / 1.006 GB, free: 11.71 MB / 0.6198 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)