Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.935/0.935, allocations: 141.8 MB / 149.3 MB, free: 9.215 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 176.8 kB / 182.2 MB, free: 9.449 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.615/1.615, allocations: 221.5 MB / 436.4 MB, free: 13.38 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.0009209/0.000921, allocations: 95.78 kB / 0.5074 GB, free: 10.2 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001777/0.001777, allocations: 292.4 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.162e-05/2.164e-05, allocations: 4 kB / 0.6766 GB, free: 12.77 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4851/0.4852, allocations: 82.77 MB / 0.7575 GB, free: 31.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.008/4.493, allocations: 1.69 GB / 2.448 GB, free: 95.66 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002273/4.493, allocations: 83.95 kB / 2.448 GB, free: 95.57 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1934/4.687, allocations: 90.45 MB / 2.536 GB, free: 4.656 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.533e-06/4.687, allocations: 0 / 2.536 GB, free: 4.656 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001217/4.687, allocations: 39.94 kB / 2.536 GB, free: 4.617 MB / 0.698 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.002565/4.689, allocations: 1.661 MB / 2.538 GB, free: 2.898 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/4.689, allocations: 8.031 kB / 2.538 GB, free: 2.891 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001793/4.691, allocations: 385.2 kB / 2.538 GB, free: 2.512 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001602/4.693, allocations: 1.015 MB / 2.539 GB, free: 1.441 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.332e-05/4.693, allocations: 47.98 kB / 2.539 GB, free: 1.395 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/4.693, allocations: 72 kB / 2.539 GB, free: 1.324 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.3649/5.058, allocations: 1.868 MB / 2.541 GB, free: 222.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004132/5.062, allocations: 1.263 MB / 2.542 GB, free: 221.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.744e-05/5.062, allocations: 4.359 kB / 2.542 GB, free: 221.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002503/5.062, allocations: 4.812 kB / 2.542 GB, free: 221.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-05/5.062, allocations: 33.66 kB / 2.542 GB, free: 221.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00938/5.072, allocations: 4.252 MB / 2.546 GB, free: 220.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002262/5.074, allocations: 1.271 MB / 2.548 GB, free: 220.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007024/5.075, allocations: 468.7 kB / 2.548 GB, free: 220.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001489/5.075, allocations: 64.89 kB / 2.548 GB, free: 220.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001125/5.076, allocations: 0.7061 MB / 2.549 GB, free: 220.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=136): time 3.256e-06/5.076, allocations: 0 / 2.549 GB, free: 220.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=136): time 0.003208/5.079, allocations: 1.248 MB / 2.55 GB, free: 220.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/5.08, allocations: 464 kB / 2.551 GB, free: 219.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00166/5.081, allocations: 0.9031 MB / 2.551 GB, free: 219.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001317/5.081, allocations: 34.3 kB / 2.551 GB, free: 219.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005341/5.082, allocations: 0.6181 MB / 2.552 GB, free: 219.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003218/5.082, allocations: 430.4 kB / 2.552 GB, free: 219.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-05/5.082, allocations: 3.719 kB / 2.552 GB, free: 219.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.729e-05/5.082, allocations: 350.6 kB / 2.553 GB, free: 219 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006139/5.083, allocations: 372.4 kB / 2.553 GB, free: 219 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007218/5.084, allocations: 0.5771 MB / 2.554 GB, free: 218.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008399/5.085, allocations: 480.1 kB / 2.554 GB, free: 218.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.76e-06/5.085, allocations: 2.734 kB / 2.554 GB, free: 218.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002622/5.087, allocations: 1.256 MB / 2.555 GB, free: 218.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.222e-05/5.087, allocations: 8.281 kB / 2.555 GB, free: 218.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/5.087, allocations: 3.969 kB / 2.555 GB, free: 218.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/5.088, allocations: 163 kB / 2.556 GB, free: 218.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/5.089, allocations: 273.1 kB / 2.556 GB, free: 218.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002985/5.092, allocations: 2.935 MB / 2.559 GB, free: 216.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/5.094, allocations: 125.2 kB / 2.559 GB, free: 216.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/5.094, allocations: 54.5 kB / 2.559 GB, free: 216.1 MB / 0.698 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.0002868/5.094, allocations: 134.5 kB / 2.559 GB, free: 216 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00269/5.097, allocations: 1.245 MB / 2.56 GB, free: 215.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002128/5.097, allocations: 139.2 kB / 2.56 GB, free: 215.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003701/5.101, allocations: 1.805 MB / 2.562 GB, free: 215.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/5.101, allocations: 17.41 kB / 2.562 GB, free: 215.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/5.101, allocations: 1.938 kB / 2.562 GB, free: 215.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/5.101, allocations: 7.031 kB / 2.562 GB, free: 215.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001722/5.103, allocations: 1.323 MB / 2.563 GB, free: 215.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/5.103, allocations: 0 / 2.563 GB, free: 215.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/5.104, allocations: 285.3 kB / 2.564 GB, free: 215.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009759/5.105, allocations: 164.5 kB / 2.564 GB, free: 215.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.251e-05/5.105, allocations: 32.31 kB / 2.564 GB, free: 215.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0027/5.107, allocations: 2.98 MB / 2.567 GB, free: 213 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/5.107, allocations: 0 / 2.567 GB, free: 213 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002904/5.11, allocations: 1.474 MB / 2.568 GB, free: 212.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006508/5.111, allocations: 467 kB / 2.569 GB, free: 212.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001887/5.111, allocations: 8.938 kB / 2.569 GB, free: 212.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/5.112, allocations: 108.3 kB / 2.569 GB, free: 212.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/5.112, allocations: 114 kB / 2.569 GB, free: 212.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.339e-05/5.113, allocations: 65.05 kB / 2.569 GB, free: 212.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008584/5.113, allocations: 0.7104 MB / 2.57 GB, free: 212.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.032e-06/5.113, allocations: 0 / 2.57 GB, free: 212.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001714/5.115, allocations: 0.4993 MB / 2.57 GB, free: 212.4 MB / 0.698 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.004956/5.12, allocations: 3.152 MB / 2.573 GB, free: 211.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002136/5.122, allocations: 1.273 MB / 2.574 GB, free: 211.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/5.122, allocations: 0 / 2.574 GB, free: 211.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00124/5.124, allocations: 0.8618 MB / 2.575 GB, free: 211.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002072/5.126, allocations: 440.6 kB / 2.576 GB, free: 211.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006498/5.132, allocations: 2.741 MB / 2.578 GB, free: 210.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00065/5.133, allocations: 1.321 MB / 2.58 GB, free: 209.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001534/5.134, allocations: 0.4905 MB / 2.58 GB, free: 209.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008431/5.135, allocations: 0.6559 MB / 2.581 GB, free: 209.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.122e-06/5.135, allocations: 3.25 kB / 2.581 GB, free: 209.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07059/5.206, allocations: 39.41 MB / 2.619 GB, free: 196.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000144/5.206, allocations: 190.2 kB / 2.62 GB, free: 196 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.321/8.527, allocations: 4 kB / 2.62 GB, free: 196 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Examples_ReaderTMY3_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)