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.7135/0.7135, allocations: 141.7 MB / 154.3 MB, free: 15.47 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 180.2 kB / 187.3 MB, free: 11.88 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.331/1.331, allocations: 221.3 MB / 441.4 MB, free: 4.582 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.001007/0.001007, allocations: 92.09 kB / 0.5124 GB, free: 24.32 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001715/0.001716, allocations: 274.7 kB / 0.5939 GB, free: 7.969 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.435e-05/3.442e-05, allocations: 4 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4029/0.403, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.374/3.777, allocations: 1.691 GB / 2.455 GB, free: 87.62 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/3.778, allocations: 84.67 kB / 2.455 GB, free: 87.54 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5253/4.303, allocations: 91.6 MB / 2.545 GB, free: 220.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.024e-06/4.303, allocations: 1.719 kB / 2.545 GB, free: 220.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001266/4.303, allocations: 41.09 kB / 2.545 GB, free: 220.7 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.002566/4.306, allocations: 1.659 MB / 2.546 GB, free: 220 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/4.306, allocations: 12.09 kB / 2.546 GB, free: 220 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002066/4.306, allocations: 204.5 kB / 2.547 GB, free: 219.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001827/4.308, allocations: 376.9 kB / 2.547 GB, free: 219.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001724/4.309, allocations: 1.016 MB / 2.548 GB, free: 219.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.404e-05/4.309, allocations: 101.9 kB / 2.548 GB, free: 219.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001715/4.31, allocations: 127.4 kB / 2.548 GB, free: 219.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002213/4.312, allocations: 1.456 MB / 2.55 GB, free: 219.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.592e-05/4.312, allocations: 1.156 kB / 2.55 GB, free: 219.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001258/4.312, allocations: 63 kB / 2.55 GB, free: 219.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.743e-05/4.312, allocations: 32.62 kB / 2.55 GB, free: 219.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002921/4.315, allocations: 1.95 MB / 2.552 GB, free: 219.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006322/4.321, allocations: 4.514 MB / 2.556 GB, free: 217.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00178/4.323, allocations: 1.345 MB / 2.557 GB, free: 217.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006305/4.324, allocations: 0.5067 MB / 2.558 GB, free: 217.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001186/4.324, allocations: 57.42 kB / 2.558 GB, free: 217.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009696/4.325, allocations: 0.7537 MB / 2.559 GB, free: 217.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=136): time 3.316e-06/4.325, allocations: 0 / 2.559 GB, free: 217.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=136): time 0.002696/4.328, allocations: 1.312 MB / 2.56 GB, free: 217.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.913e-05/4.328, allocations: 459.8 kB / 2.56 GB, free: 217 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001285/4.329, allocations: 1.058 MB / 2.561 GB, free: 216.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.505e-05/4.329, allocations: 51.48 kB / 2.561 GB, free: 216.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003504/4.329, allocations: 0.6111 MB / 2.562 GB, free: 216.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000253/4.33, allocations: 448.1 kB / 2.562 GB, free: 216.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.974e-05/4.33, allocations: 20.78 kB / 2.562 GB, free: 216.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.623e-05/4.33, allocations: 355.8 kB / 2.563 GB, free: 216 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005448/4.33, allocations: 395.9 kB / 2.563 GB, free: 216 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007192/4.331, allocations: 0.6093 MB / 2.564 GB, free: 215.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006507/4.332, allocations: 490.4 kB / 2.564 GB, free: 215.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/4.332, allocations: 0 / 2.564 GB, free: 215.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002524/4.334, allocations: 1.331 MB / 2.566 GB, free: 215.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/4.334, allocations: 11.39 kB / 2.566 GB, free: 215.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/4.334, allocations: 3.031 kB / 2.566 GB, free: 215.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001027/4.335, allocations: 168.7 kB / 2.566 GB, free: 215.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/4.336, allocations: 265.9 kB / 2.566 GB, free: 215.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002902/4.339, allocations: 3.06 MB / 2.569 GB, free: 213.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/4.34, allocations: 159.9 kB / 2.569 GB, free: 213 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.691e-05/4.341, allocations: 63.95 kB / 2.569 GB, free: 213 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.0002379/4.341, allocations: 185.3 kB / 2.569 GB, free: 212.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000205/4.341, allocations: 149.8 kB / 2.569 GB, free: 212.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003789/4.345, allocations: 1.911 MB / 2.571 GB, free: 212.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/4.345, allocations: 17.19 kB / 2.571 GB, free: 212.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/4.345, allocations: 3.953 kB / 2.571 GB, free: 212.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.533e-05/4.345, allocations: 7.641 kB / 2.571 GB, free: 212.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001632/4.347, allocations: 1.524 MB / 2.573 GB, free: 212.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.388e-06/4.347, allocations: 0 / 2.573 GB, free: 212.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/4.348, allocations: 285.4 kB / 2.573 GB, free: 212.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000897/4.348, allocations: 171.5 kB / 2.573 GB, free: 212.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001167/4.349, allocations: 50.94 kB / 2.573 GB, free: 212.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002705/4.351, allocations: 3.102 MB / 2.576 GB, free: 209.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/4.351, allocations: 0 / 2.576 GB, free: 209.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002791/4.354, allocations: 1.556 MB / 2.578 GB, free: 209.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007852/4.355, allocations: 487.2 kB / 2.578 GB, free: 209.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002966/4.355, allocations: 32.84 kB / 2.578 GB, free: 209.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/4.356, allocations: 136.2 kB / 2.579 GB, free: 209.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000202/4.357, allocations: 113.5 kB / 2.579 GB, free: 209.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001112/4.357, allocations: 61.58 kB / 2.579 GB, free: 209.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001082/4.358, allocations: 0.8372 MB / 2.579 GB, free: 209.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.91e-07/4.358, allocations: 0 / 2.579 GB, free: 209.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00155/4.359, allocations: 0.5437 MB / 2.58 GB, free: 209.2 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.004749/4.364, allocations: 3.184 MB / 2.583 GB, free: 208.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002131/4.366, allocations: 1.354 MB / 2.584 GB, free: 207.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/4.366, allocations: 3.938 kB / 2.584 GB, free: 207.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001325/4.368, allocations: 0.9069 MB / 2.585 GB, free: 207.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002172/4.37, allocations: 478.6 kB / 2.586 GB, free: 207.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00764/4.377, allocations: 2.883 MB / 2.589 GB, free: 206 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007653/4.378, allocations: 1.319 MB / 2.59 GB, free: 205.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001743/4.38, allocations: 0.498 MB / 2.59 GB, free: 205.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008342/4.381, allocations: 0.6704 MB / 2.591 GB, free: 204.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.433e-06/4.381, allocations: 4 kB / 2.591 GB, free: 204.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07647/4.457, allocations: 48.9 MB / 2.639 GB, free: 174.7 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001734/4.458, allocations: 242 kB / 2.639 GB, free: 174.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.327/7.784, allocations: 2.031 kB / 2.639 GB, free: 174.4 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)