Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_11_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.001667/0.001667, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001845/0.001845, allocations: 198.2 kB / 16.53 MB, free: 6.664 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.265/1.265, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.43/2.43, allocations: 469.8 MB / 0.7424 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 64.86 kB / 0.9086 GB, free: 34.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2315, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.008305/0.2399, allocations: 7.186 MB / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1474/0.3873, allocations: 153.5 MB / 1.221 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001036/0.3883, allocations: 31.88 kB / 1.221 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008914/0.3893, allocations: 340.7 kB / 1.221 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002184/0.3915, allocations: 0.7694 MB / 1.222 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002775/0.3942, allocations: 1.38 MB / 1.223 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002775/0.397, allocations: 2.636 MB / 1.226 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001341/0.3984, allocations: 1.045 MB / 1.227 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001064/0.3995, allocations: 0.8798 MB / 1.228 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001037/0.4005, allocations: 0.9062 MB / 1.229 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000326/0.4008, allocations: 216 kB / 1.229 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001386/0.4022, allocations: 0.9443 MB / 1.23 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004603/0.4027, allocations: 0.5335 MB / 1.23 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008508/0.4036, allocations: 1.026 MB / 1.231 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002767/0.4063, allocations: 2.925 MB / 1.234 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.4063, allocations: 0 / 1.234 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.032e-06/0.4063, allocations: 0 / 1.234 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.565e-05/0.4064, allocations: 0 / 1.234 GB, free: 15.24 MB / 0.9981 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.003755/0.4101, allocations: 2.374 MB / 1.237 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.4102, allocations: 16.03 kB / 1.237 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002452/0.4104, allocations: 219.3 kB / 1.237 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001734/0.4122, allocations: 373.9 kB / 1.237 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001637/0.4138, allocations: 1.276 MB / 1.238 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.323e-05/0.4139, allocations: 102.9 kB / 1.238 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001802/0.4141, allocations: 144 kB / 1.239 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002554/0.4166, allocations: 1.65 MB / 1.24 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.4167, allocations: 8 kB / 1.24 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001392/0.4168, allocations: 71.98 kB / 1.24 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.004e-05/0.4169, allocations: 32 kB / 1.24 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003327/0.4202, allocations: 2.15 MB / 1.242 GB, free: 6.617 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006711/0.4269, allocations: 4.96 MB / 1.247 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3697/0.7966, allocations: 1.602 MB / 1.249 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001206/0.7978, allocations: 0.5873 MB / 1.249 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001033/0.7979, allocations: 62.05 kB / 1.249 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001516/0.7995, allocations: 0.9432 MB / 1.25 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=154): time 3.096e-06/0.7995, allocations: 1.75 kB / 1.25 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=154): time 0.005357/0.8048, allocations: 2.371 MB / 1.253 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.479e-05/0.8049, allocations: 366.2 kB / 1.253 GB, free: 184 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.8061, allocations: 1.157 MB / 1.254 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.991e-05/0.8062, allocations: 54.08 kB / 1.254 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003337/0.8065, allocations: 0.6671 MB / 1.255 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001993/0.8067, allocations: 498.5 kB / 1.255 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002918/0.807, allocations: 280.8 kB / 1.256 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.198e-05/0.8071, allocations: 362.9 kB / 1.256 GB, free: 183 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007913/0.8079, allocations: 0.4893 MB / 1.256 GB, free: 183 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009192/0.8088, allocations: 0.7279 MB / 1.257 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001695/0.8105, allocations: 1.182 MB / 1.258 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.8105, allocations: 2.531 kB / 1.258 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002895/0.8134, allocations: 1.589 MB / 1.26 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.8135, allocations: 9.984 kB / 1.26 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.8135, allocations: 4.172 kB / 1.26 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009157/0.8144, allocations: 165.6 kB / 1.26 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009818/0.8154, allocations: 306.3 kB / 1.26 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002689/0.8181, allocations: 3.294 MB / 1.264 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.8191, allocations: 184 kB / 1.264 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.006e-05/0.8192, allocations: 63.5 kB / 1.264 GB, free: 179.5 MB / 0.9981 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.0004259/0.8196, allocations: 407.9 kB / 1.264 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002188/0.8199, allocations: 165.2 kB / 1.264 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004021/0.8239, allocations: 2.181 MB / 1.266 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.8239, allocations: 16.56 kB / 1.267 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.8239, allocations: 2.656 kB / 1.267 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-05/0.8239, allocations: 9 kB / 1.267 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001593/0.8255, allocations: 1.628 MB / 1.268 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.8255, allocations: 1.219 kB / 1.268 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000988/0.8265, allocations: 285 kB / 1.268 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007156/0.8273, allocations: 150 kB / 1.269 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.419e-05/0.8274, allocations: 47.45 kB / 1.269 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002539/0.8299, allocations: 3.345 MB / 1.272 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.8299, allocations: 1.156 kB / 1.272 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003334/0.8332, allocations: 1.828 MB / 1.274 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005426/0.8338, allocations: 465.5 kB / 1.274 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001938/0.834, allocations: 44.14 kB / 1.274 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/0.8351, allocations: 125.6 kB / 1.274 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002584/0.8353, allocations: 146.4 kB / 1.274 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001319/0.8355, allocations: 69.72 kB / 1.274 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009185/0.8364, allocations: 0.8096 MB / 1.275 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8364, allocations: 0 / 1.275 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009459/0.8373, allocations: 0.511 MB / 1.276 GB, free: 172.8 MB / 0.9981 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.004772/0.8421, allocations: 2.928 MB / 1.279 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003716/0.8458, allocations: 2.003 MB / 1.281 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.8459, allocations: 5.594 kB / 1.281 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001508/0.8474, allocations: 1.049 MB / 1.282 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001736/0.8491, allocations: 0.578 MB / 1.282 GB, free: 170 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01495/0.8641, allocations: 12.07 MB / 1.294 GB, free: 163.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006043/0.8647, allocations: 1.332 MB / 1.295 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001342/0.866, allocations: 0.5231 MB / 1.296 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006964/0.8667, allocations: 0.7384 MB / 1.296 GB, free: 162.2 MB / 0.9981 GB Notification: Performance of SimCode: time 4.11e-07/0.8668, allocations: 0 / 1.296 GB, free: 162.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 8.661/9.528, allocations: 39.4 MB / 1.335 GB, free: 127.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.03/25.56, allocations: 15.89 kB / 1.335 GB, free: 127.8 MB / 0.9981 GB (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_fmu --startTime=0 --stopTime=8.64e+06 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)