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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.00679/0.00679, allocations: 101.7 kB / 15.73 MB, free: 6.047 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.001701/0.001701, allocations: 193.9 kB / 16.67 MB, free: 5.977 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.285/1.285, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.206/2.206, allocations: 390.3 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 62.22 kB / 0.9504 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2254, allocations: 140.4 MB / 1.087 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.007652/0.2331, allocations: 6.686 MB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1483/0.3814, allocations: 153.4 MB / 1.244 GB, free: 1.285 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008247/0.3823, allocations: 31.81 kB / 1.244 GB, free: 1.254 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006971/0.383, allocations: 324.8 kB / 1.244 GB, free: 0.9336 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001757/0.3848, allocations: 0.7278 MB / 1.245 GB, free: 212 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002481/0.3873, allocations: 1.372 MB / 1.246 GB, free: 14.85 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002087/0.3894, allocations: 2.582 MB / 1.249 GB, free: 12.26 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001232/0.3906, allocations: 1.088 MB / 1.25 GB, free: 11.12 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000845/0.3915, allocations: 0.8681 MB / 1.251 GB, free: 10.25 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008339/0.3923, allocations: 0.8945 MB / 1.251 GB, free: 9.352 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002438/0.3926, allocations: 212 kB / 1.252 GB, free: 9.145 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001458/0.3941, allocations: 0.9754 MB / 1.253 GB, free: 8.168 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004351/0.3945, allocations: 0.5373 MB / 1.253 GB, free: 7.629 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0008075/0.3953, allocations: 0.9987 MB / 1.254 GB, free: 6.625 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00279/0.3981, allocations: 2.987 MB / 1.257 GB, free: 3.629 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3981, allocations: 0 / 1.257 GB, free: 3.629 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3981, allocations: 4 kB / 1.257 GB, free: 3.625 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.997e-05/0.3982, allocations: 0 / 1.257 GB, free: 3.625 MB / 1.014 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.00395/0.4021, allocations: 2.366 MB / 1.259 GB, free: 1.195 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.4022, allocations: 12.03 kB / 1.259 GB, free: 1.184 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002434/0.4024, allocations: 215.4 kB / 1.26 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001896/0.4043, allocations: 373.9 kB / 1.26 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4352/0.8395, allocations: 1.313 MB / 1.261 GB, free: 172.8 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.395e-05/0.8396, allocations: 107.2 kB / 1.261 GB, free: 172.8 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001894/0.8398, allocations: 140 kB / 1.261 GB, free: 172.8 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002906/0.8427, allocations: 1.657 MB / 1.263 GB, free: 172.4 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.997e-05/0.8428, allocations: 0.7188 kB / 1.263 GB, free: 172.4 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001367/0.8429, allocations: 61.06 kB / 1.263 GB, free: 172.3 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.344e-05/0.843, allocations: 35.5 kB / 1.263 GB, free: 172.3 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003634/0.8466, allocations: 2.153 MB / 1.265 GB, free: 171.8 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006881/0.8535, allocations: 4.676 MB / 1.27 GB, free: 169.3 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003256/0.8568, allocations: 1.609 MB / 1.271 GB, free: 168.7 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001262/0.858, allocations: 0.5918 MB / 1.272 GB, free: 168.5 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001323/0.8582, allocations: 58.42 kB / 1.272 GB, free: 168.5 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001835/0.86, allocations: 0.9422 MB / 1.273 GB, free: 168.1 MB / 1.014 GB Notification: Performance of pre-optimization done (n=154): time 3.286e-06/0.86, allocations: 0.9844 kB / 1.273 GB, free: 168.1 MB / 1.014 GB Notification: Performance of matching and sorting (n=154): time 0.006183/0.8662, allocations: 2.383 MB / 1.275 GB, free: 167.2 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.766e-05/0.8663, allocations: 353.5 kB / 1.276 GB, free: 166.8 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001524/0.8679, allocations: 1.164 MB / 1.277 GB, free: 166.3 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001055/0.868, allocations: 58.98 kB / 1.277 GB, free: 166.2 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004185/0.8684, allocations: 0.6611 MB / 1.277 GB, free: 165.7 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002774/0.8687, allocations: 498.9 kB / 1.278 GB, free: 165.3 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003952/0.8691, allocations: 279.1 kB / 1.278 GB, free: 165.2 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 7.485e-05/0.8692, allocations: 361.1 kB / 1.279 GB, free: 164.9 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00104/0.8702, allocations: 0.4922 MB / 1.279 GB, free: 164.7 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001213/0.8714, allocations: 0.7348 MB / 1.28 GB, free: 164.3 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002174/0.8736, allocations: 1.186 MB / 1.281 GB, free: 163.7 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.8736, allocations: 1.344 kB / 1.281 GB, free: 163.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003723/0.8774, allocations: 1.586 MB / 1.282 GB, free: 163.1 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.8774, allocations: 7 kB / 1.282 GB, free: 163.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.8774, allocations: 6.625 kB / 1.282 GB, free: 163.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/0.8785, allocations: 167 kB / 1.283 GB, free: 163.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/0.8797, allocations: 298 kB / 1.283 GB, free: 163.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003261/0.883, allocations: 3.297 MB / 1.286 GB, free: 160 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/0.8842, allocations: 172.7 kB / 1.286 GB, free: 159.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/0.8843, allocations: 67.83 kB / 1.286 GB, free: 159.9 MB / 1.014 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.0006155/0.885, allocations: 408.8 kB / 1.287 GB, free: 159.6 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002749/0.8852, allocations: 165.6 kB / 1.287 GB, free: 159.5 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004782/0.89, allocations: 2.167 MB / 1.289 GB, free: 158.7 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/0.89, allocations: 18.8 kB / 1.289 GB, free: 158.7 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.8901, allocations: 5.062 kB / 1.289 GB, free: 158.7 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-05/0.8901, allocations: 9.875 kB / 1.289 GB, free: 158.7 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001819/0.8919, allocations: 1.624 MB / 1.291 GB, free: 158 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.8919, allocations: 0 / 1.291 GB, free: 158 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/0.893, allocations: 294.2 kB / 1.291 GB, free: 157.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008288/0.8939, allocations: 145.4 kB / 1.291 GB, free: 157.9 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/0.894, allocations: 51.58 kB / 1.291 GB, free: 157.9 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002956/0.897, allocations: 3.345 MB / 1.294 GB, free: 154.8 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.897, allocations: 1.766 kB / 1.294 GB, free: 154.8 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003758/0.9007, allocations: 1.824 MB / 1.296 GB, free: 154 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006101/0.9014, allocations: 464.8 kB / 1.297 GB, free: 153.7 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002007/0.9016, allocations: 47.25 kB / 1.297 GB, free: 153.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/0.9027, allocations: 126.2 kB / 1.297 GB, free: 153.7 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002494/0.903, allocations: 144 kB / 1.297 GB, free: 153.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001267/0.9031, allocations: 73.34 kB / 1.297 GB, free: 153.6 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000972/0.9041, allocations: 0.8056 MB / 1.298 GB, free: 153.3 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9041, allocations: 2.531 kB / 1.298 GB, free: 153.3 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001135/0.9053, allocations: 0.508 MB / 1.298 GB, free: 153.2 MB / 1.014 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.005006/0.9103, allocations: 2.929 MB / 1.301 GB, free: 151.8 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002958/0.9132, allocations: 1.611 MB / 1.303 GB, free: 151.1 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.9133, allocations: 1.125 kB / 1.303 GB, free: 151.1 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001707/0.915, allocations: 1.042 MB / 1.304 GB, free: 150.5 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001889/0.9169, allocations: 0.5707 MB / 1.304 GB, free: 150.2 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01774/0.9346, allocations: 11.39 MB / 1.315 GB, free: 143 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005594/0.9352, allocations: 1.337 MB / 1.317 GB, free: 141.6 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00126/0.9365, allocations: 0.5127 MB / 1.317 GB, free: 141.1 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007765/0.9373, allocations: 0.7413 MB / 1.318 GB, free: 140.4 MB / 1.014 GB Notification: Performance of SimCode: time 3.8e-07/0.9373, allocations: 0 / 1.318 GB, free: 140.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.673/2.611, allocations: 39.17 MB / 1.356 GB, free: 101.5 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.31/17.92, allocations: 6.375 kB / 1.356 GB, free: 101.5 MB / 1.014 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)