Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3") translateModel(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6912/0.6912, allocations: 128.7 MB / 143.7 MB, free: 2.309 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000964/0.000964, allocations: 182.2 kB / 173.8 MB, free: 6.105 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 205.4 MB / 409 MB, free: 10.46 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007897/0.0007897, allocations: 86.81 kB / 486.6 MB, free: 12.99 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003208/0.0003208, allocations: 13.38 kB / 0.5603 GB, free: 97.58 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1283, allocations: 76.77 MB / 0.6353 GB, free: 30.53 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.005149/0.1335, allocations: 4.904 MB / 0.6401 GB, free: 25.6 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.4542/0.5878, allocations: 129.4 MB / 0.7664 GB, free: 20 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009587/0.5888, allocations: 16.69 kB / 0.7664 GB, free: 16 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0005337/0.5893, allocations: 117.4 kB / 0.7666 GB, free: 0 / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002065/0.5914, allocations: 0.5867 MB / 0.7671 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.002758/0.5942, allocations: 0.9371 MB / 0.768 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.002243/0.5964, allocations: 1.339 MB / 0.7694 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009063/0.5973, allocations: 0.6727 MB / 0.77 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009915/0.5983, allocations: 0.5432 MB / 0.7705 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005977/0.5989, allocations: 0.5033 MB / 0.771 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001089/0.5991, allocations: 35.72 kB / 0.7711 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00151/0.6006, allocations: 0.657 MB / 0.7717 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002358/0.6008, allocations: 274.4 kB / 0.772 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0002866/0.6011, allocations: 300.3 kB / 0.7723 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001945/0.6031, allocations: 1.861 MB / 0.7741 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.6031, allocations: 0 / 0.7741 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6031, allocations: 0 / 0.7741 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.071e-05/0.6031, allocations: 0 / 0.7741 GB, free: 15.2 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.003178/0.6063, allocations: 1.691 MB / 0.7757 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.6064, allocations: 11.78 kB / 0.7757 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009348/0.6157, allocations: 1.091 MB / 0.7768 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00217/0.618, allocations: 1.023 MB / 0.7778 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.001e-05/0.618, allocations: 97.61 kB / 0.7779 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001868/0.6182, allocations: 130.6 kB / 0.778 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005588/0.6238, allocations: 1.827 MB / 0.7798 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.469e-05/0.6239, allocations: 0 / 0.7798 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001399/0.624, allocations: 56.94 kB / 0.7799 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.711e-05/0.6241, allocations: 30.28 kB / 0.7799 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009235/0.6333, allocations: 2.709 MB / 0.7825 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01124/0.6446, allocations: 4.814 MB / 0.7872 GB, free: 9.816 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01095/0.6556, allocations: 2.286 MB / 0.7895 GB, free: 9.188 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007252/0.6563, allocations: 0.4928 MB / 0.7899 GB, free: 8.684 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004512/0.6609, allocations: 1.143 MB / 0.7911 GB, free: 8.219 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=137): time 5.781e-06/0.6609, allocations: 0 / 0.7911 GB, free: 8.219 MB / 0.5261 GB Notification: Performance of matching and sorting (n=137): time 0.01514/0.676, allocations: 2.982 MB / 0.794 GB, free: 7.203 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.6762, allocations: 196.5 kB / 0.7942 GB, free: 6.98 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/0.6775, allocations: 0.9148 MB / 0.7951 GB, free: 6.676 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002515/0.6778, allocations: 53.42 kB / 0.7951 GB, free: 6.645 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003956/0.6782, allocations: 0.528 MB / 0.7956 GB, free: 6.367 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004332/0.6786, allocations: 448.6 kB / 0.7961 GB, free: 6.047 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.192e-05/0.6787, allocations: 28.48 kB / 0.7961 GB, free: 6.047 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.6789, allocations: 349.3 kB / 0.7964 GB, free: 5.727 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003722/0.6826, allocations: 0.7414 MB / 0.7971 GB, free: 5.523 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003974/0.6866, allocations: 0.8965 MB / 0.798 GB, free: 5.184 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003814/0.6904, allocations: 0.7697 MB / 0.7988 GB, free: 5.012 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.6905, allocations: 0 / 0.7988 GB, free: 5.012 MB / 0.5261 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.009459/0.6999, allocations: 2.014 MB / 0.8007 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/0.7, allocations: 5.906 kB / 0.8007 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.7, allocations: 2.469 kB / 0.8007 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001063/0.7011, allocations: 166.4 kB / 0.8009 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002737/0.7038, allocations: 441 kB / 0.8013 GB, free: 4.199 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003906/0.7078, allocations: 3.083 MB / 0.8043 GB, free: 1.453 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002806/0.7106, allocations: 270.4 kB / 0.8046 GB, free: 1.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001621/0.7108, allocations: 73.64 kB / 0.8047 GB, free: 1.301 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart,$whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTim1.tStart,weaDatInpCon.conTim1.tStart,$PRE.weaDatInpCon.conTim.tStart,weaDatInpCon.conTim.tStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000909/0.7117, allocations: 365.8 kB / 0.805 GB, free: 1.145 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002543/0.7119, allocations: 134.6 kB / 0.8051 GB, free: 1.074 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009903/0.7218, allocations: 2.493 MB / 0.8076 GB, free: 260 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.761e-05/0.7219, allocations: 14.75 kB / 0.8076 GB, free: 260 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/0.7219, allocations: 7.219 kB / 0.8076 GB, free: 256 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.901e-05/0.7219, allocations: 11.97 kB / 0.8076 GB, free: 244 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002319/0.7243, allocations: 1.483 MB / 0.809 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.7243, allocations: 0 / 0.809 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002476/0.7268, allocations: 440.5 kB / 0.8095 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009619/0.7278, allocations: 165.9 kB / 0.8096 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001254/0.7279, allocations: 56.66 kB / 0.8097 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003545/0.7314, allocations: 3.141 MB / 0.8127 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.7315, allocations: 4 kB / 0.8128 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008969/0.7404, allocations: 2.142 MB / 0.8148 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001115/0.7416, allocations: 484.6 kB / 0.8153 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001917/0.7418, allocations: 34.25 kB / 0.8153 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002223/0.744, allocations: 237.1 kB / 0.8156 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001979/0.7442, allocations: 105.5 kB / 0.8157 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001264/0.7444, allocations: 75.52 kB / 0.8157 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0009408/0.7453, allocations: 0.6349 MB / 0.8164 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7453, allocations: 4 kB / 0.8164 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00131/0.7467, allocations: 454 kB / 0.8168 GB, free: 11.24 MB / 0.5417 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.conTim1.tStart,weaDat.conTim.tStart,$whenCondition2,$whenCondition1,weaDatInpCon.conTim1.tStart,weaDatInpCon.conTim.tStart) * Number of discrete states: 4 (weaDatInpCon.conTim1.tStart,weaDatInpCon.conTim.tStart,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001261/0.7479, allocations: 0.6085 MB / 0.8174 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.008441/0.7564, allocations: 2.054 MB / 0.8194 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.884e-06/0.7564, allocations: 4 kB / 0.8194 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004533/0.761, allocations: 1.244 MB / 0.8206 GB, free: 9.777 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001679/0.7627, allocations: 381.7 kB / 0.821 GB, free: 9.656 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009723/0.7724, allocations: 3.786 MB / 0.8247 GB, free: 7.688 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000832/0.7733, allocations: 1.259 MB / 0.8259 GB, free: 6.676 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002478/0.7758, allocations: 0.5407 MB / 0.8264 GB, free: 6.133 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005278/0.7763, allocations: 196.1 kB / 0.8266 GB, free: 5.961 MB / 0.5417 GB Notification: Performance of SimCode: time 1.082e-06/0.7763, allocations: 3.938 kB / 0.8266 GB, free: 5.957 MB / 0.5417 GB Notification: Performance of Templates: time 0.03501/0.8113, allocations: 21.82 MB / 0.8479 GB, free: 312 kB / 0.5573 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & ./BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)