Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001136/0.001136, allocations: 192.4 kB / 16.14 MB, free: 6.645 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.17/1.17, allocations: 222.9 MB / 239.8 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.031/2.031, allocations: 390.2 MB / 0.6643 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 63.89 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4703/0.4714, allocations: 140.4 MB / 0.949 GB, free: 9.023 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.005556/0.477, allocations: 6.647 MB / 0.9555 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1311/0.6081, allocations: 151 MB / 1.103 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001248/0.6094, allocations: 31.81 kB / 1.103 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009526/0.6104, allocations: 254 kB / 1.103 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002089/0.6125, allocations: 0.6184 MB / 1.104 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002527/0.615, allocations: 1.229 MB / 1.105 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002221/0.6172, allocations: 2.398 MB / 1.107 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001134/0.6184, allocations: 1.064 MB / 1.109 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006643/0.6191, allocations: 0.7391 MB / 1.109 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006989/0.6198, allocations: 0.8358 MB / 1.11 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001873/0.62, allocations: 92 kB / 1.11 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001185/0.6212, allocations: 0.8348 MB / 1.111 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003211/0.6215, allocations: 434.2 kB / 1.111 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0006301/0.6221, allocations: 0.8776 MB / 1.112 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00204/0.6242, allocations: 2.8 MB / 1.115 GB, free: 7.52 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.6242, allocations: 4 kB / 1.115 GB, free: 7.516 MB / 0.8731 GB Notification: Performance of FrontEnd: time 6.81e-07/0.6242, allocations: 0 / 1.115 GB, free: 7.516 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.628e-05/0.6242, allocations: 0 / 1.115 GB, free: 7.516 MB / 0.8731 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.003558/0.6278, allocations: 2.35 MB / 1.117 GB, free: 5.102 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.6278, allocations: 15.97 kB / 1.117 GB, free: 5.086 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002198/0.628, allocations: 223.4 kB / 1.117 GB, free: 4.855 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001714/0.6298, allocations: 377.8 kB / 1.118 GB, free: 4.484 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001488/0.6313, allocations: 1.272 MB / 1.119 GB, free: 3.156 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.399e-05/0.6313, allocations: 114.9 kB / 1.119 GB, free: 3.043 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001567/0.6315, allocations: 136 kB / 1.119 GB, free: 2.91 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002465/0.634, allocations: 1.662 MB / 1.121 GB, free: 1.156 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/0.634, allocations: 0 / 1.121 GB, free: 1.156 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001327/0.6342, allocations: 64 kB / 1.121 GB, free: 1.094 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.321e-05/0.6342, allocations: 36 kB / 1.121 GB, free: 1.059 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00307/0.6373, allocations: 2.146 MB / 1.123 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006074/0.6433, allocations: 4.737 MB / 1.128 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002804/0.6462, allocations: 1.615 MB / 1.129 GB, free: 8.457 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009986/0.6472, allocations: 0.5912 MB / 1.13 GB, free: 7.859 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001063/0.6473, allocations: 61.2 kB / 1.13 GB, free: 7.801 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001521/0.6488, allocations: 0.9384 MB / 1.131 GB, free: 6.836 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=154): time 2.415e-06/0.6488, allocations: 0 / 1.131 GB, free: 6.836 MB / 0.8887 GB Notification: Performance of matching and sorting (n=154): time 0.005628/0.6545, allocations: 2.37 MB / 1.133 GB, free: 4.418 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000131/0.6546, allocations: 359.4 kB / 1.134 GB, free: 3.984 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/0.6558, allocations: 1.167 MB / 1.135 GB, free: 2.797 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 9.43e-05/0.6559, allocations: 57.7 kB / 1.135 GB, free: 2.734 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004264/0.6563, allocations: 0.6622 MB / 1.135 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003184/0.6567, allocations: 0.489 MB / 1.136 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003696/0.657, allocations: 283.4 kB / 1.136 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.6572, allocations: 357.9 kB / 1.136 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009645/0.6581, allocations: 499.7 kB / 1.137 GB, free: 452 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001152/0.6593, allocations: 0.722 MB / 1.138 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00204/0.6613, allocations: 1.196 MB / 1.139 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.6614, allocations: 0 / 1.139 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003401/0.6648, allocations: 1.582 MB / 1.14 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.6648, allocations: 10.03 kB / 1.14 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.6648, allocations: 288 / 1.14 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001009/0.6658, allocations: 173.4 kB / 1.141 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/0.6669, allocations: 299.5 kB / 1.141 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003309/0.6703, allocations: 3.069 MB / 1.144 GB, free: 9.004 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.6714, allocations: 174.6 kB / 1.144 GB, free: 8.832 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.6715, allocations: 67.95 kB / 1.144 GB, free: 8.766 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 30 (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,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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 167 * 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.0005208/0.672, allocations: 417.7 kB / 1.144 GB, free: 8.352 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002621/0.6723, allocations: 161.9 kB / 1.145 GB, free: 8.191 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004471/0.6767, allocations: 2.177 MB / 1.147 GB, free: 5.996 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/0.6768, allocations: 24 kB / 1.147 GB, free: 5.973 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.6768, allocations: 0 / 1.147 GB, free: 5.973 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.474e-05/0.6768, allocations: 7.969 kB / 1.147 GB, free: 5.965 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001567/0.6784, allocations: 1.641 MB / 1.148 GB, free: 4.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.6784, allocations: 0 / 1.148 GB, free: 4.27 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/0.6794, allocations: 283.6 kB / 1.149 GB, free: 3.992 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009206/0.6804, allocations: 169.5 kB / 1.149 GB, free: 3.82 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-05/0.6804, allocations: 47.95 kB / 1.149 GB, free: 3.773 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003095/0.6836, allocations: 3.115 MB / 1.152 GB, free: 384 kB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.6836, allocations: 0 / 1.152 GB, free: 384 kB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003454/0.687, allocations: 1.816 MB / 1.154 GB, free: 14.53 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005256/0.6876, allocations: 470.4 kB / 1.154 GB, free: 14.05 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002018/0.6878, allocations: 40 kB / 1.154 GB, free: 14.01 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/0.6888, allocations: 132.8 kB / 1.154 GB, free: 13.88 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002217/0.6891, allocations: 141.7 kB / 1.154 GB, free: 13.74 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/0.6892, allocations: 75.83 kB / 1.154 GB, free: 13.67 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0009005/0.6901, allocations: 0.8108 MB / 1.155 GB, free: 12.86 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6901, allocations: 0 / 1.155 GB, free: 12.86 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0009783/0.6911, allocations: 0.5027 MB / 1.156 GB, free: 12.35 MB / 0.92 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.004884/0.696, allocations: 2.928 MB / 1.159 GB, free: 9.574 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002755/0.6988, allocations: 1.602 MB / 1.16 GB, free: 7.949 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.6988, allocations: 4.125 kB / 1.16 GB, free: 7.945 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001658/0.7004, allocations: 1.036 MB / 1.161 GB, free: 6.883 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001718/0.7022, allocations: 0.5107 MB / 1.162 GB, free: 6.379 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02151/0.7237, allocations: 12.98 MB / 1.174 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007508/0.7244, allocations: 1.335 MB / 1.176 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001438/0.7259, allocations: 0.5127 MB / 1.176 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009082/0.7268, allocations: 0.7374 MB / 1.177 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of SimCode: time 2.9e-07/0.7268, allocations: 0 / 1.177 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.091/3.818, allocations: 37.4 MB / 1.213 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000271/3.818, allocations: 286.2 kB / 1.214 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.54/6.358, allocations: 0 / 1.214 GB, free: 1.016 MB / 0.9669 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)