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.001046/0.001046, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5008/0.5008, allocations: 90.91 MB / 99.34 MB, free: 2.18 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 221.5 MB / 343.2 MB, free: 1.617 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009876/0.0009874, allocations: 87.89 kB / 415.9 MB, free: 11.2 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.538e-05/1.532e-05, allocations: 0 / 494.6 MB, free: 52.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1509, allocations: 72.31 MB / 0.5536 GB, free: 12.22 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.572/3.723, allocations: 1.683 GB / 2.237 GB, free: 9.355 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/3.723, allocations: 87.95 kB / 2.237 GB, free: 9.27 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.5096/4.233, allocations: 90.45 MB / 2.325 GB, free: 173.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.184e-06/4.233, allocations: 0 / 2.325 GB, free: 173.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002003/4.233, allocations: 47.94 kB / 2.325 GB, free: 173.7 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.003428/4.236, allocations: 1.669 MB / 2.327 GB, free: 172 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/4.236, allocations: 8.031 kB / 2.327 GB, free: 172 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001704/4.238, allocations: 373.3 kB / 2.327 GB, free: 171.6 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001546/4.24, allocations: 1.011 MB / 2.328 GB, free: 170.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.529e-05/4.24, allocations: 44 kB / 2.328 GB, free: 170.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/4.24, allocations: 79.95 kB / 2.328 GB, free: 170.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002344/4.242, allocations: 1.875 MB / 2.33 GB, free: 168.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00173/4.244, allocations: 1.269 MB / 2.331 GB, free: 167.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/4.244, allocations: 0 / 2.331 GB, free: 167.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/4.244, allocations: 4 kB / 2.331 GB, free: 167.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.135e-05/4.244, allocations: 39.98 kB / 2.332 GB, free: 167.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005426/4.249, allocations: 4.264 MB / 2.336 GB, free: 162.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001461/4.251, allocations: 1.268 MB / 2.337 GB, free: 161.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005131/4.251, allocations: 465 kB / 2.337 GB, free: 161.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001131/4.252, allocations: 61.02 kB / 2.337 GB, free: 161 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008724/4.252, allocations: 0.7096 MB / 2.338 GB, free: 160.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=136): time 2.895e-06/4.252, allocations: 0 / 2.338 GB, free: 160.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=136): time 0.002579/4.255, allocations: 1.25 MB / 2.339 GB, free: 159 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.825e-05/4.255, allocations: 454.1 kB / 2.34 GB, free: 158.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/4.256, allocations: 0.9069 MB / 2.341 GB, free: 157.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.989e-05/4.256, allocations: 25.7 kB / 2.341 GB, free: 157.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003323/4.257, allocations: 0.6295 MB / 2.341 GB, free: 156.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002349/4.257, allocations: 425.5 kB / 2.342 GB, free: 156.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.71e-05/4.257, allocations: 0 / 2.342 GB, free: 156.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.829e-05/4.257, allocations: 353.9 kB / 2.342 GB, free: 156.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004676/4.257, allocations: 374.5 kB / 2.342 GB, free: 155.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000586/4.258, allocations: 0.5737 MB / 2.343 GB, free: 155.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006861/4.259, allocations: 482.4 kB / 2.343 GB, free: 154.6 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/4.259, allocations: 0 / 2.343 GB, free: 154.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.00242/4.261, allocations: 1.267 MB / 2.345 GB, free: 153.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/4.261, allocations: 8.938 kB / 2.345 GB, free: 153.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/4.261, allocations: 0 / 2.345 GB, free: 153.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009966/4.262, allocations: 173.7 kB / 2.345 GB, free: 153.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009841/4.263, allocations: 267.6 kB / 2.345 GB, free: 152.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002654/4.266, allocations: 2.926 MB / 2.348 GB, free: 149.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009957/4.267, allocations: 127.1 kB / 2.348 GB, free: 149.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.896e-05/4.267, allocations: 51.97 kB / 2.348 GB, free: 149.5 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.0002208/4.267, allocations: 140.7 kB / 2.348 GB, free: 149.4 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002389/4.27, allocations: 1.25 MB / 2.349 GB, free: 148.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001796/4.27, allocations: 138.3 kB / 2.35 GB, free: 148 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00343/4.273, allocations: 1.809 MB / 2.351 GB, free: 146.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/4.273, allocations: 16 kB / 2.351 GB, free: 146.1 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/4.273, allocations: 4 kB / 2.351 GB, free: 146.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.452e-05/4.273, allocations: 7.969 kB / 2.351 GB, free: 146.1 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001341/4.275, allocations: 1.316 MB / 2.353 GB, free: 144.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/4.275, allocations: 0 / 2.353 GB, free: 144.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009724/4.276, allocations: 287.5 kB / 2.353 GB, free: 144.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008508/4.277, allocations: 161.6 kB / 2.353 GB, free: 144.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.776e-05/4.277, allocations: 27.97 kB / 2.353 GB, free: 144.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002453/4.279, allocations: 2.981 MB / 2.356 GB, free: 141.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/4.279, allocations: 4.062 kB / 2.356 GB, free: 141.1 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002545/4.282, allocations: 1.473 MB / 2.357 GB, free: 139.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005944/4.282, allocations: 470.6 kB / 2.358 GB, free: 139.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001775/4.282, allocations: 8 kB / 2.358 GB, free: 139.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009211/4.283, allocations: 111.8 kB / 2.358 GB, free: 139 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/4.284, allocations: 113.4 kB / 2.358 GB, free: 138.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.955e-05/4.284, allocations: 55.97 kB / 2.358 GB, free: 138.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0008042/4.284, allocations: 0.7077 MB / 2.359 GB, free: 138.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/4.284, allocations: 4 kB / 2.359 GB, free: 138.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001415/4.286, allocations: 0.4947 MB / 2.359 GB, free: 137.6 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.004215/4.29, allocations: 3.159 MB / 2.362 GB, free: 134.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001805/4.292, allocations: 1.274 MB / 2.364 GB, free: 133.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/4.292, allocations: 0 / 2.364 GB, free: 133.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001099/4.293, allocations: 0.8643 MB / 2.365 GB, free: 132.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001787/4.295, allocations: 434.4 kB / 2.365 GB, free: 131.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006387/4.301, allocations: 2.738 MB / 2.368 GB, free: 129.1 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000605/4.302, allocations: 1.316 MB / 2.369 GB, free: 127.7 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001484/4.303, allocations: 495 kB / 2.369 GB, free: 127.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008032/4.304, allocations: 0.6554 MB / 2.37 GB, free: 126.6 MB / 0.6042 GB Notification: Performance of SimCode: time 1.072e-06/4.304, allocations: 0 / 2.37 GB, free: 126.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06426/4.368, allocations: 39.36 MB / 2.408 GB, free: 87.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001965/4.369, allocations: 181.8 kB / 2.409 GB, free: 87.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.176/7.544, allocations: 0 / 2.409 GB, free: 87.2 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)