Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="IDEAS_IDEAS_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.00526/0.00526, allocations: 97.41 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.0015/0.0015, allocations: 197 kB / 16.67 MB, free: 5.973 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7402/0.7402, allocations: 132.2 MB / 422.7 MB, free: 1.633 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001754/0.001754, allocations: 62.73 kB / 0.5808 GB, free: 1.109 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1327, allocations: 80.2 MB / 0.6592 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.007623/0.1404, allocations: 6.224 MB / 0.6652 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4431/0.5835, allocations: 153.2 MB / 0.8149 GB, free: 3.012 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000982/0.5845, allocations: 32.12 kB / 0.8149 GB, free: 3.012 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006314/0.5852, allocations: 313.5 kB / 0.8152 GB, free: 3.012 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001422/0.5866, allocations: 0.6498 MB / 0.8158 GB, free: 3.012 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002154/0.5888, allocations: 1.3 MB / 0.8171 GB, free: 3.012 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001844/0.5906, allocations: 2.322 MB / 0.8194 GB, free: 3.004 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001426/0.592, allocations: 1.069 MB / 0.8204 GB, free: 2.812 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00109/0.5931, allocations: 0.7741 MB / 0.8212 GB, free: 2.812 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008903/0.594, allocations: 0.7911 MB / 0.8219 GB, free: 2.812 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002526/0.5943, allocations: 186.8 kB / 0.8221 GB, free: 2.812 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001455/0.5958, allocations: 0.9443 MB / 0.823 GB, free: 2.805 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003612/0.5961, allocations: 497.3 kB / 0.8235 GB, free: 2.805 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006644/0.5968, allocations: 0.8994 MB / 0.8244 GB, free: 2.805 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002509/0.5993, allocations: 2.729 MB / 0.8271 GB, free: 2.438 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.5993, allocations: 0 / 0.8271 GB, free: 2.438 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5993, allocations: 1.125 kB / 0.8271 GB, free: 2.438 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.172e-05/0.5994, allocations: 0.875 kB / 0.8271 GB, free: 2.438 MB / 0.6387 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.002987/0.6024, allocations: 2.232 MB / 0.8292 GB, free: 1.297 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.6024, allocations: 9.844 kB / 0.8292 GB, free: 1.297 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001896/0.6026, allocations: 203.5 kB / 0.8294 GB, free: 1.254 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001723/0.6043, allocations: 367.2 kB / 0.8298 GB, free: 1.145 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001492/0.6058, allocations: 1.258 MB / 0.831 GB, free: 0.7266 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.02e-05/0.6059, allocations: 98.72 kB / 0.8311 GB, free: 0.7227 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001463/0.6061, allocations: 128.6 kB / 0.8312 GB, free: 0.7227 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00218/0.6082, allocations: 1.528 MB / 0.8327 GB, free: 460 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.893e-05/0.6083, allocations: 1.781 kB / 0.8327 GB, free: 460 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/0.6084, allocations: 55.59 kB / 0.8328 GB, free: 460 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.323e-05/0.6084, allocations: 34.12 kB / 0.8328 GB, free: 460 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002805/0.6112, allocations: 2.041 MB / 0.8348 GB, free: 448 kB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005343/0.6166, allocations: 4.404 MB / 0.8391 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002343/0.619, allocations: 1.428 MB / 0.8405 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008494/0.6198, allocations: 0.5373 MB / 0.841 GB, free: 14.99 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.806e-05/0.6199, allocations: 55.66 kB / 0.8411 GB, free: 14.99 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001194/0.6211, allocations: 0.7919 MB / 0.8419 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=136): time 2.454e-06/0.6211, allocations: 0 / 0.8419 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=136): time 0.004986/0.6261, allocations: 2.115 MB / 0.8439 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001926/0.6263, allocations: 358.2 kB / 0.8443 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.6274, allocations: 1.077 MB / 0.8453 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.817e-05/0.6275, allocations: 56.17 kB / 0.8454 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003956/0.6279, allocations: 0.6265 MB / 0.846 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003219/0.6282, allocations: 469 kB / 0.8464 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003159/0.6285, allocations: 251 kB / 0.8467 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.6287, allocations: 359.5 kB / 0.847 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008049/0.6295, allocations: 431.6 kB / 0.8474 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000997/0.6305, allocations: 0.6437 MB / 0.8481 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001753/0.6323, allocations: 1.07 MB / 0.8491 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.6323, allocations: 3.594 kB / 0.8491 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003005/0.6353, allocations: 1.425 MB / 0.8505 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.6353, allocations: 7.406 kB / 0.8505 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.6353, allocations: 8.266 kB / 0.8505 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009749/0.6363, allocations: 166.9 kB / 0.8507 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009418/0.6373, allocations: 270.3 kB / 0.8509 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003649/0.6409, allocations: 3.285 MB / 0.8541 GB, free: 9.848 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009502/0.6419, allocations: 155.4 kB / 0.8543 GB, free: 9.793 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.749e-05/0.642, allocations: 56.48 kB / 0.8543 GB, free: 9.793 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 12 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition3,$whenCondition4,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,$whenCondition1,$whenCondition2) * 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 (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.0004602/0.6424, allocations: 385 kB / 0.8547 GB, free: 9.676 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002513/0.6427, allocations: 157 kB / 0.8548 GB, free: 9.59 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003887/0.6466, allocations: 1.973 MB / 0.8568 GB, free: 9.41 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.6466, allocations: 18.06 kB / 0.8568 GB, free: 9.41 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.6466, allocations: 0.75 kB / 0.8568 GB, free: 9.41 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/0.6466, allocations: 8.359 kB / 0.8568 GB, free: 9.41 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.6479, allocations: 1.485 MB / 0.8583 GB, free: 9.156 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.6479, allocations: 3 kB / 0.8583 GB, free: 9.156 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009456/0.6489, allocations: 280.9 kB / 0.8585 GB, free: 9.156 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007913/0.6497, allocations: 141 kB / 0.8587 GB, free: 9.141 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-05/0.6498, allocations: 53.11 kB / 0.8587 GB, free: 9.133 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003501/0.6533, allocations: 3.344 MB / 0.862 GB, free: 6.359 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.6533, allocations: 0 / 0.862 GB, free: 6.359 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003075/0.6564, allocations: 1.632 MB / 0.8636 GB, free: 6.129 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004782/0.6569, allocations: 440.1 kB / 0.864 GB, free: 5.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001743/0.6571, allocations: 32.22 kB / 0.864 GB, free: 5.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009296/0.658, allocations: 109.8 kB / 0.8641 GB, free: 5.93 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001854/0.6582, allocations: 118.9 kB / 0.8642 GB, free: 5.922 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.59e-05/0.6583, allocations: 62.14 kB / 0.8643 GB, free: 5.922 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000746/0.659, allocations: 0.7533 MB / 0.865 GB, free: 5.812 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.659, allocations: 0 / 0.865 GB, free: 5.812 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009483/0.66, allocations: 466.7 kB / 0.8655 GB, free: 5.738 MB / 0.6544 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.004985/0.665, allocations: 2.723 MB / 0.8681 GB, free: 4.891 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002562/0.6676, allocations: 1.445 MB / 0.8695 GB, free: 4.559 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.6676, allocations: 2.75 kB / 0.8695 GB, free: 4.559 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00156/0.6692, allocations: 0.956 MB / 0.8705 GB, free: 4.133 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001881/0.671, allocations: 0.5491 MB / 0.871 GB, free: 3.977 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01726/0.6883, allocations: 10.49 MB / 0.8813 GB, free: 15.37 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000769/0.6891, allocations: 1.284 MB / 0.8825 GB, free: 14.62 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001257/0.6904, allocations: 0.5031 MB / 0.883 GB, free: 14.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008489/0.6912, allocations: 0.6558 MB / 0.8836 GB, free: 14.04 MB / 0.67 GB Notification: Performance of SimCode: time 3.11e-07/0.6912, allocations: 2.5 kB / 0.8836 GB, free: 14.04 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4906/1.182, allocations: 36.25 MB / 0.9191 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.56/14.74, allocations: 11.23 kB / 0.9191 GB, free: 11.31 MB / 0.7012 GB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_Examples_ReaderTMY3_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)