Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="IBPSA_latest_IBPSA_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.00149/0.00149, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5446/0.5446, allocations: 90.81 MB / 104.5 MB, free: 9.793 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 221.3 MB / 348.3 MB, free: 464 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 91.98 kB / 421.2 MB, free: 5.48 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.344e-05/3.389e-05, allocations: 4 kB / 0.4897 GB, free: 5.273 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.461/0.461, allocations: 72.3 MB / 0.5603 GB, free: 40.44 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.87/4.331, allocations: 1.684 GB / 2.244 GB, free: 97.39 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/4.331, allocations: 90.86 kB / 2.244 GB, free: 97.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.2421/4.573, allocations: 91.61 MB / 2.334 GB, free: 5.234 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.775e-06/4.573, allocations: 0 / 2.334 GB, free: 5.234 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002036/4.573, allocations: 43.94 kB / 2.334 GB, free: 5.191 MB / 0.6042 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.004567/4.578, allocations: 1.673 MB / 2.335 GB, free: 3.461 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/4.578, allocations: 11.98 kB / 2.335 GB, free: 3.449 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004018/4.578, allocations: 202.6 kB / 2.336 GB, free: 3.242 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002626/4.581, allocations: 369.3 kB / 2.336 GB, free: 2.879 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001932/4.583, allocations: 1.011 MB / 2.337 GB, free: 1.812 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.934e-05/4.583, allocations: 106.7 kB / 2.337 GB, free: 1.707 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002286/4.583, allocations: 128 kB / 2.337 GB, free: 1.582 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002532/4.586, allocations: 1.454 MB / 2.339 GB, free: 32 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.115e-05/4.586, allocations: 0 / 2.339 GB, free: 32 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.3159/4.902, allocations: 62.02 kB / 2.339 GB, free: 181.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.934e-05/4.902, allocations: 32.97 kB / 2.339 GB, free: 181.9 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003839/4.906, allocations: 1.95 MB / 2.341 GB, free: 181.9 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008515/4.914, allocations: 4.508 MB / 2.345 GB, free: 180.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002413/4.917, allocations: 1.357 MB / 2.346 GB, free: 180.6 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007273/4.917, allocations: 0.4971 MB / 2.347 GB, free: 180.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001418/4.918, allocations: 59.97 kB / 2.347 GB, free: 180.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001119/4.919, allocations: 0.7489 MB / 2.348 GB, free: 180.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=136): time 3.848e-06/4.919, allocations: 0 / 2.348 GB, free: 180.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=136): time 0.003221/4.922, allocations: 1.312 MB / 2.349 GB, free: 180.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001429/4.922, allocations: 458.5 kB / 2.349 GB, free: 179.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001644/4.924, allocations: 1.06 MB / 2.35 GB, free: 179.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001367/4.924, allocations: 54.86 kB / 2.35 GB, free: 179.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004738/4.924, allocations: 0.6115 MB / 2.351 GB, free: 179.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003511/4.925, allocations: 441.8 kB / 2.351 GB, free: 179.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.618e-05/4.925, allocations: 30.94 kB / 2.351 GB, free: 179.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.241e-05/4.925, allocations: 346.4 kB / 2.352 GB, free: 178.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006169/4.926, allocations: 394 kB / 2.352 GB, free: 178.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006994/4.926, allocations: 0.6067 MB / 2.353 GB, free: 178.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006591/4.927, allocations: 493.8 kB / 2.353 GB, free: 178.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/4.927, allocations: 2.438 kB / 2.353 GB, free: 178.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002641/4.93, allocations: 1.335 MB / 2.355 GB, free: 178.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/4.93, allocations: 3.938 kB / 2.355 GB, free: 178.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/4.93, allocations: 3.844 kB / 2.355 GB, free: 178.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/4.931, allocations: 169.8 kB / 2.355 GB, free: 178.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/4.932, allocations: 268.3 kB / 2.355 GB, free: 178.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003108/4.935, allocations: 3.065 MB / 2.358 GB, free: 175.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/4.937, allocations: 163.1 kB / 2.358 GB, free: 175.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001731/4.937, allocations: 62.44 kB / 2.358 GB, free: 175.9 MB / 0.6042 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.0003372/4.937, allocations: 179.7 kB / 2.358 GB, free: 175.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003458/4.937, allocations: 149.4 kB / 2.358 GB, free: 175.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004062/4.941, allocations: 1.908 MB / 2.36 GB, free: 175.6 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.415e-05/4.942, allocations: 17.72 kB / 2.36 GB, free: 175.6 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/4.942, allocations: 0 / 2.36 GB, free: 175.6 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.722e-05/4.942, allocations: 6.984 kB / 2.36 GB, free: 175.6 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002063/4.944, allocations: 1.522 MB / 2.362 GB, free: 175.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/4.944, allocations: 0 / 2.362 GB, free: 175.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/4.945, allocations: 287.7 kB / 2.362 GB, free: 175.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009156/4.946, allocations: 168.3 kB / 2.362 GB, free: 175.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001053/4.946, allocations: 43.03 kB / 2.362 GB, free: 175.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003008/4.949, allocations: 3.109 MB / 2.365 GB, free: 172.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/4.949, allocations: 0 / 2.365 GB, free: 172.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002936/4.952, allocations: 1.553 MB / 2.367 GB, free: 172.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007109/4.952, allocations: 493.5 kB / 2.367 GB, free: 172.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001925/4.953, allocations: 33.12 kB / 2.367 GB, free: 172.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009608/4.954, allocations: 133.7 kB / 2.368 GB, free: 172.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001894/4.954, allocations: 117.8 kB / 2.368 GB, free: 172.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/4.954, allocations: 59.84 kB / 2.368 GB, free: 172.4 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009919/4.955, allocations: 0.8366 MB / 2.369 GB, free: 172.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/4.955, allocations: 0 / 2.369 GB, free: 172.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001458/4.956, allocations: 0.5447 MB / 2.369 GB, free: 172.2 MB / 0.6042 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.004546/4.961, allocations: 3.184 MB / 2.372 GB, free: 171.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002162/4.963, allocations: 1.355 MB / 2.373 GB, free: 171.1 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/4.963, allocations: 3.812 kB / 2.373 GB, free: 171.1 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001251/4.964, allocations: 0.9057 MB / 2.374 GB, free: 170.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001989/4.966, allocations: 467.8 kB / 2.375 GB, free: 170.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006437/4.973, allocations: 2.889 MB / 2.378 GB, free: 170.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005939/4.974, allocations: 1.317 MB / 2.379 GB, free: 169.5 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001508/4.975, allocations: 0.5075 MB / 2.379 GB, free: 169.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008017/4.976, allocations: 0.672 MB / 2.38 GB, free: 169.4 MB / 0.6042 GB Notification: Performance of SimCode: time 6.31e-07/4.976, allocations: 0 / 2.38 GB, free: 169.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07125/5.047, allocations: 48.83 MB / 2.428 GB, free: 143.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000155/5.047, allocations: 229.7 kB / 2.428 GB, free: 143.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.696/8.743, allocations: 0 / 2.428 GB, free: 143.1 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Examples_ReaderTMY3_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)