Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.conf.json 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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 104.8 kB / 16.36 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 199.2 kB / 17.3 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002067/0.002067, allocations: 295.8 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9884/0.9884, allocations: 169.3 MB / 0.4989 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 93.72 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1434, allocations: 86.96 MB / 0.6816 GB, free: 7.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003396/0.1469, allocations: 1.641 MB / 0.6832 GB, free: 5.812 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001739/0.1486, allocations: 1.172 MB / 0.6843 GB, free: 4.633 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.458e-05/0.1487, allocations: 0 / 0.6843 GB, free: 4.633 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002063/0.149, allocations: 31.78 kB / 0.6844 GB, free: 4.602 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002924/0.1493, allocations: 63.7 kB / 0.6844 GB, free: 4.539 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003815/0.1497, allocations: 142.7 kB / 0.6846 GB, free: 4.402 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002642/0.15, allocations: 229.6 kB / 0.6848 GB, free: 4.176 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.1501, allocations: 28.14 kB / 0.6848 GB, free: 4.145 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.677e-05/0.1502, allocations: 83.81 kB / 0.6849 GB, free: 4.062 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002139/0.1504, allocations: 93.95 kB / 0.685 GB, free: 3.973 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.3e-05/0.1504, allocations: 23.94 kB / 0.685 GB, free: 3.949 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.1506, allocations: 67.98 kB / 0.6851 GB, free: 3.883 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.333e-05/0.1507, allocations: 87.73 kB / 0.6852 GB, free: 3.797 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.1508, allocations: 103.4 kB / 0.6852 GB, free: 3.695 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003027/0.1511, allocations: 279.1 kB / 0.6855 GB, free: 3.422 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.1511, allocations: 0 / 0.6855 GB, free: 3.422 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1511, allocations: 0 / 0.6855 GB, free: 3.422 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.1511, allocations: 0 / 0.6855 GB, free: 3.422 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0007079/0.1518, allocations: 0.5306 MB / 0.686 GB, free: 2.844 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.1519, allocations: 12.03 kB / 0.686 GB, free: 2.832 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.892e-05/0.1519, allocations: 28.56 kB / 0.6861 GB, free: 2.805 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.1522, allocations: 259.8 kB / 0.6863 GB, free: 2.512 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.1522, allocations: 12.38 kB / 0.6863 GB, free: 2.5 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.1523, allocations: 12.38 kB / 0.6863 GB, free: 2.488 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003298/0.1526, allocations: 225.8 kB / 0.6866 GB, free: 2.25 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.1526, allocations: 4 kB / 0.6866 GB, free: 2.246 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/0.1527, allocations: 8 kB / 0.6866 GB, free: 2.238 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.1527, allocations: 4 kB / 0.6866 GB, free: 2.234 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008265/0.1535, allocations: 0.7373 MB / 0.6873 GB, free: 1.496 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007704/0.1543, allocations: 0.5704 MB / 0.6879 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004597/0.1547, allocations: 299.6 kB / 0.6881 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/0.1549, allocations: 105.4 kB / 0.6882 GB, free: 476 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.367e-05/0.155, allocations: 20.23 kB / 0.6883 GB, free: 456 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002884/0.1553, allocations: 176.9 kB / 0.6884 GB, free: 268 kB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 1.924e-06/0.1553, allocations: 0 / 0.6884 GB, free: 268 kB / 494.1 MB Notification: Performance of matching and sorting (n=34): time 0.2409/0.3962, allocations: 361.1 kB / 0.6888 GB, free: 18.56 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.3963, allocations: 136.2 kB / 0.6889 GB, free: 18.41 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003052/0.3966, allocations: 299.9 kB / 0.6892 GB, free: 18.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.3966, allocations: 30.48 kB / 0.6892 GB, free: 18.27 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.755e-05/0.3967, allocations: 128.3 kB / 0.6893 GB, free: 18.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.172e-05/0.3968, allocations: 110.7 kB / 0.6894 GB, free: 18.15 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.52e-05/0.3969, allocations: 65.44 kB / 0.6895 GB, free: 18.14 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.72e-05/0.3969, allocations: 338.8 kB / 0.6898 GB, free: 17.82 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.3971, allocations: 83.5 kB / 0.6899 GB, free: 17.82 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001844/0.3973, allocations: 122.3 kB / 0.69 GB, free: 17.79 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003187/0.3976, allocations: 215.5 kB / 0.6902 GB, free: 17.78 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3976, allocations: 1.094 kB / 0.6902 GB, free: 17.78 MB / 494.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004392/0.398, allocations: 277.6 kB / 0.6905 GB, free: 17.73 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.3981, allocations: 6.375 kB / 0.6905 GB, free: 17.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.3981, allocations: 3.844 kB / 0.6905 GB, free: 17.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.3981, allocations: 7.578 kB / 0.6905 GB, free: 17.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002377/0.3983, allocations: 58.17 kB / 0.6906 GB, free: 17.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.3984, allocations: 6.297 kB / 0.6906 GB, free: 17.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.3985, allocations: 33.77 kB / 0.6906 GB, free: 17.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.72e-05/0.3986, allocations: 14.77 kB / 0.6906 GB, free: 17.71 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001284/0.3987, allocations: 163.3 kB / 0.6908 GB, free: 17.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.708e-05/0.3987, allocations: 24.69 kB / 0.6908 GB, free: 17.59 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000679/0.3994, allocations: 381.2 kB / 0.6912 GB, free: 17.52 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.3994, allocations: 3.156 kB / 0.6912 GB, free: 17.52 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3995, allocations: 1.078 kB / 0.6912 GB, free: 17.52 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.3995, allocations: 2.734 kB / 0.6912 GB, free: 17.52 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.3997, allocations: 330.4 kB / 0.6915 GB, free: 17.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3997, allocations: 0.7031 kB / 0.6915 GB, free: 17.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001781/0.3999, allocations: 61.91 kB / 0.6915 GB, free: 17.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.165e-06/0.3999, allocations: 1.125 kB / 0.6915 GB, free: 17.27 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.4, allocations: 15.08 kB / 0.6916 GB, free: 17.26 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.4, allocations: 3.156 kB / 0.6916 GB, free: 17.26 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4, allocations: 4 kB / 0.6916 GB, free: 17.25 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004369/0.4004, allocations: 327.2 kB / 0.6919 GB, free: 17.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.4006, allocations: 138.5 kB / 0.692 GB, free: 16.98 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.925e-05/0.4006, allocations: 10.86 kB / 0.692 GB, free: 16.97 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.4007, allocations: 19.38 kB / 0.692 GB, free: 16.96 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.223e-05/0.4008, allocations: 23.86 kB / 0.6921 GB, free: 16.96 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.738e-05/0.4008, allocations: 13.48 kB / 0.6921 GB, free: 16.96 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001769/0.401, allocations: 226.7 kB / 0.6923 GB, free: 16.84 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.401, allocations: 0.8438 kB / 0.6923 GB, free: 16.84 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002903/0.4013, allocations: 62.09 kB / 0.6924 GB, free: 16.83 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008365/0.4022, allocations: 412.5 kB / 0.6927 GB, free: 16.68 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003899/0.4026, allocations: 221.8 kB / 0.693 GB, free: 16.62 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4026, allocations: 1 kB / 0.693 GB, free: 16.62 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002093/0.4028, allocations: 133.8 kB / 0.6931 GB, free: 16.59 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.4031, allocations: 34.73 kB / 0.6931 GB, free: 16.57 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007171/0.4038, allocations: 0.4938 MB / 0.6936 GB, free: 16.31 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001711/0.404, allocations: 0.7523 MB / 0.6943 GB, free: 15.61 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003148/0.4043, allocations: 149 kB / 0.6945 GB, free: 15.58 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.032e-05/0.4044, allocations: 41.53 kB / 0.6945 GB, free: 15.57 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4044, allocations: 0 / 0.6945 GB, free: 15.57 MB / 494.1 MB Notification: Performance of Templates: time 0.006638/0.411, allocations: 2.976 MB / 0.6974 GB, free: 15.28 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)