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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 176.2 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8062/0.8062, allocations: 133.6 MB / 141.6 MB, free: 2.914 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.608/1.608, allocations: 221.5 MB / 395.4 MB, free: 10.8 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009556/0.0009559, allocations: 107.6 kB / 478.2 MB, free: 1.336 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.286e-05/2.288e-05, allocations: 4 kB / 0.5535 GB, free: 8.996 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5777/0.5778, allocations: 82.3 MB / 0.6339 GB, free: 40.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.718/5.296, allocations: 1.693 GB / 2.327 GB, free: 80.79 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/5.296, allocations: 79.95 kB / 2.327 GB, free: 80.71 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.5915/5.888, allocations: 90.42 MB / 2.415 GB, free: 218.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.604e-06/5.888, allocations: 0 / 2.415 GB, free: 218.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002899/5.888, allocations: 45.94 kB / 2.415 GB, free: 218.9 MB / 0.6823 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.005887/5.894, allocations: 1.66 MB / 2.417 GB, free: 218.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.821e-05/5.894, allocations: 9.688 kB / 2.417 GB, free: 218.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003244/5.897, allocations: 375.3 kB / 2.417 GB, free: 218 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00374/5.901, allocations: 1.014 MB / 2.418 GB, free: 217.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001349/5.901, allocations: 45.53 kB / 2.418 GB, free: 217.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000478/5.902, allocations: 78.56 kB / 2.418 GB, free: 217.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004592/5.906, allocations: 1.874 MB / 2.42 GB, free: 217.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003377/5.91, allocations: 1.27 MB / 2.421 GB, free: 217.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.876e-05/5.91, allocations: 0.5625 kB / 2.421 GB, free: 217.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002562/5.91, allocations: 3.344 kB / 2.421 GB, free: 217.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.022e-05/5.91, allocations: 32.81 kB / 2.421 GB, free: 217.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008969/5.919, allocations: 4.269 MB / 2.426 GB, free: 216.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002015/5.921, allocations: 1.268 MB / 2.427 GB, free: 216.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006621/5.922, allocations: 468.9 kB / 2.427 GB, free: 216 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000142/5.922, allocations: 57.36 kB / 2.427 GB, free: 216 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001109/5.923, allocations: 0.7076 MB / 2.428 GB, free: 215.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=136): time 3.947e-06/5.923, allocations: 0 / 2.428 GB, free: 215.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=136): time 0.003284/5.926, allocations: 1.244 MB / 2.429 GB, free: 215.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001483/5.927, allocations: 460.8 kB / 2.43 GB, free: 215.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001836/5.928, allocations: 0.9023 MB / 2.43 GB, free: 215.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001927/5.929, allocations: 31.64 kB / 2.431 GB, free: 215.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000582/5.929, allocations: 0.6262 MB / 2.431 GB, free: 214.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004065/5.93, allocations: 425.3 kB / 2.432 GB, free: 214.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.682e-05/5.93, allocations: 0 / 2.432 GB, free: 214.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.82e-05/5.93, allocations: 354.7 kB / 2.432 GB, free: 214.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006343/5.93, allocations: 378.4 kB / 2.432 GB, free: 214.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007859/5.931, allocations: 0.5712 MB / 2.433 GB, free: 214 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009947/5.932, allocations: 482.2 kB / 2.433 GB, free: 214 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/5.932, allocations: 0 / 2.433 GB, free: 214 MB / 0.6823 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.003219/5.935, allocations: 1.266 MB / 2.434 GB, free: 213.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/5.936, allocations: 7.578 kB / 2.434 GB, free: 213.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/5.936, allocations: 6.062 kB / 2.434 GB, free: 213.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001043/5.937, allocations: 167.1 kB / 2.435 GB, free: 213.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/5.938, allocations: 269.2 kB / 2.435 GB, free: 213.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003226/5.941, allocations: 2.94 MB / 2.438 GB, free: 211.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001681/5.943, allocations: 124.1 kB / 2.438 GB, free: 211.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002059/5.943, allocations: 51.16 kB / 2.438 GB, free: 211.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (143): * Single equations (assignments): 141 * 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.0003923/5.943, allocations: 137.7 kB / 2.438 GB, free: 211.2 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00345/5.947, allocations: 1.247 MB / 2.439 GB, free: 211.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005123/5.947, allocations: 140.3 kB / 2.439 GB, free: 211 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004761/5.952, allocations: 1.797 MB / 2.441 GB, free: 210.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.175e-05/5.952, allocations: 21.66 kB / 2.441 GB, free: 210.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.641e-05/5.952, allocations: 0 / 2.441 GB, free: 210.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-05/5.952, allocations: 6.844 kB / 2.441 GB, free: 210.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002671/5.955, allocations: 1.324 MB / 2.443 GB, free: 210.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/5.955, allocations: 0 / 2.443 GB, free: 210.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001175/5.956, allocations: 282.4 kB / 2.443 GB, free: 210.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009837/5.957, allocations: 170.2 kB / 2.443 GB, free: 210.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001669/5.957, allocations: 27.73 kB / 2.443 GB, free: 210.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003435/5.961, allocations: 2.977 MB / 2.446 GB, free: 208.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.283e-06/5.961, allocations: 0 / 2.446 GB, free: 208.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004116/5.965, allocations: 1.476 MB / 2.447 GB, free: 207.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001207/5.966, allocations: 475.4 kB / 2.448 GB, free: 207.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005706/5.967, allocations: 5.766 kB / 2.448 GB, free: 207.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001424/5.968, allocations: 111.7 kB / 2.448 GB, free: 207.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002608/5.968, allocations: 117 kB / 2.448 GB, free: 207.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001598/5.969, allocations: 57.48 kB / 2.448 GB, free: 207.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001505/5.97, allocations: 0.709 MB / 2.449 GB, free: 207.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/5.97, allocations: 0 / 2.449 GB, free: 207.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002738/5.973, allocations: 0.492 MB / 2.449 GB, free: 207.5 MB / 0.6823 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) * 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 (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.006178/5.979, allocations: 3.158 MB / 2.452 GB, free: 206.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002593/5.982, allocations: 1.271 MB / 2.454 GB, free: 205.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/5.982, allocations: 3.938 kB / 2.454 GB, free: 205.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001445/5.983, allocations: 0.8588 MB / 2.454 GB, free: 205.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002732/5.986, allocations: 429 kB / 2.455 GB, free: 205.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008578/5.995, allocations: 2.738 MB / 2.457 GB, free: 204.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009599/5.996, allocations: 1.314 MB / 2.459 GB, free: 203.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001935/5.997, allocations: 0.4924 MB / 2.459 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008651/5.998, allocations: 0.657 MB / 2.46 GB, free: 202.8 MB / 0.6823 GB Notification: Performance of SimCode: time 1.122e-06/5.998, allocations: 0 / 2.46 GB, free: 202.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08604/6.084, allocations: 39.34 MB / 2.498 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002974/6.085, allocations: 185.1 kB / 2.498 GB, free: 178 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.603/9.687, allocations: 2.812 kB / 2.498 GB, free: 178 MB / 0.6823 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/linux/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)