Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.00106, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.00114/0.00114, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 223.3 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7594/0.7594, allocations: 132.3 MB / 423.4 MB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003236/0.0003237, allocations: 17.06 kB / 0.5035 GB, free: 4.137 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4377/0.438, allocations: 81.57 MB / 0.5832 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.001742/0.4398, allocations: 1.313 MB / 0.5844 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001318/0.4412, allocations: 1.088 MB / 0.5855 GB, free: 2.273 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.05e-05/0.4412, allocations: 1 kB / 0.5855 GB, free: 2.273 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001866/0.4414, allocations: 19.39 kB / 0.5855 GB, free: 2.266 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002066/0.4416, allocations: 52.25 kB / 0.5856 GB, free: 2.238 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003434/0.442, allocations: 121.9 kB / 0.5857 GB, free: 2.18 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003548/0.4423, allocations: 194 kB / 0.5859 GB, free: 2.098 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.755e-05/0.4425, allocations: 18.2 kB / 0.5859 GB, free: 2.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.538e-05/0.4425, allocations: 71.36 kB / 0.586 GB, free: 2.062 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001842/0.4427, allocations: 77.44 kB / 0.586 GB, free: 2.035 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.056e-05/0.4428, allocations: 8.531 kB / 0.586 GB, free: 2.035 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.4429, allocations: 67.59 kB / 0.5861 GB, free: 2.016 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.897e-05/0.443, allocations: 65.58 kB / 0.5862 GB, free: 1.992 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.727e-05/0.4431, allocations: 57.17 kB / 0.5862 GB, free: 1.941 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002713/0.4434, allocations: 195.6 kB / 0.5864 GB, free: 1.891 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.4434, allocations: 4 kB / 0.5864 GB, free: 1.887 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.4434, allocations: 0 / 0.5864 GB, free: 1.887 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.826e-06/0.4434, allocations: 1.031 kB / 0.5864 GB, free: 1.887 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006099/0.444, allocations: 498.3 kB / 0.5869 GB, free: 1.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.444, allocations: 9.469 kB / 0.5869 GB, free: 1.43 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.052e-05/0.4441, allocations: 51.45 kB / 0.5869 GB, free: 1.379 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.461e-05/0.4442, allocations: 24.92 kB / 0.587 GB, free: 1.367 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.4444, allocations: 249.8 kB / 0.5872 GB, free: 1.133 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.4444, allocations: 13.59 kB / 0.5872 GB, free: 1.125 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.986e-05/0.4445, allocations: 14.39 kB / 0.5872 GB, free: 1.121 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003541/0.4448, allocations: 205.2 kB / 0.5874 GB, free: 1.012 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.4448, allocations: 3.984 kB / 0.5874 GB, free: 1.008 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/0.4449, allocations: 5.938 kB / 0.5874 GB, free: 1.004 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.4449, allocations: 3.875 kB / 0.5874 GB, free: 1.004 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.4459, allocations: 0.7382 MB / 0.5882 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008108/0.4467, allocations: 0.5686 MB / 0.5887 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004711/0.4472, allocations: 297.2 kB / 0.589 GB, free: 416 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001518/0.4474, allocations: 101.5 kB / 0.5891 GB, free: 376 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.016e-05/0.4474, allocations: 26.23 kB / 0.5891 GB, free: 364 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003056/0.4477, allocations: 171.8 kB / 0.5893 GB, free: 276 kB / 430.1 MB Notification: Performance of pre-optimization done (n=34): time 1.693e-06/0.4478, allocations: 0 / 0.5893 GB, free: 276 kB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.0006461/0.4484, allocations: 367.4 kB / 0.5896 GB, free: 132 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.169e-05/0.4485, allocations: 139 kB / 0.5898 GB, free: 15.97 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003245/0.4488, allocations: 293.2 kB / 0.59 GB, free: 15.81 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.4489, allocations: 32.02 kB / 0.5901 GB, free: 15.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.781e-05/0.4489, allocations: 126.7 kB / 0.5902 GB, free: 15.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.28e-05/0.449, allocations: 113.2 kB / 0.5903 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.4e-05/0.4491, allocations: 5.75 kB / 0.5903 GB, free: 15.56 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.4492, allocations: 334.4 kB / 0.5906 GB, free: 15.24 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.4493, allocations: 79.38 kB / 0.5907 GB, free: 15.22 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/0.4495, allocations: 128.9 kB / 0.5908 GB, free: 15.15 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001855/0.4497, allocations: 101.4 kB / 0.5909 GB, free: 15.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.4498, allocations: 4.562 kB / 0.5909 GB, free: 15.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004553/0.4502, allocations: 278.8 kB / 0.5912 GB, free: 15 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.4502, allocations: 5.531 kB / 0.5912 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.4503, allocations: 4.781 kB / 0.5912 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.4503, allocations: 1.688 kB / 0.5912 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/0.4505, allocations: 59.08 kB / 0.5913 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.4505, allocations: 5.922 kB / 0.5913 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/0.4507, allocations: 34.08 kB / 0.5913 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.937e-05/0.4507, allocations: 13.89 kB / 0.5913 GB, free: 14.96 MB / 446.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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001599/0.4509, allocations: 168.4 kB / 0.5915 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.33e-05/0.451, allocations: 24.47 kB / 0.5915 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007154/0.4517, allocations: 378.5 kB / 0.5919 GB, free: 14.65 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.4517, allocations: 4.016 kB / 0.5919 GB, free: 14.65 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.4517, allocations: 0 / 0.5919 GB, free: 14.65 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.4517, allocations: 9.828 kB / 0.5919 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003345/0.4521, allocations: 327.9 kB / 0.5922 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.4521, allocations: 2.188 kB / 0.5922 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001877/0.4523, allocations: 58.81 kB / 0.5922 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.4523, allocations: 2.844 kB / 0.5922 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/0.4523, allocations: 9.562 kB / 0.5923 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.4523, allocations: 2.141 kB / 0.5923 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.4523, allocations: 0.5 kB / 0.5923 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004853/0.4528, allocations: 333.8 kB / 0.5926 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.453, allocations: 144.1 kB / 0.5927 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.47e-05/0.453, allocations: 11.5 kB / 0.5927 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.4532, allocations: 15.28 kB / 0.5927 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/0.4532, allocations: 22.03 kB / 0.5928 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/0.4533, allocations: 14.47 kB / 0.5928 GB, free: 14.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002296/0.4535, allocations: 229.1 kB / 0.593 GB, free: 13.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4535, allocations: 0.5625 kB / 0.593 GB, free: 13.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003231/0.4539, allocations: 57.08 kB / 0.593 GB, free: 13.93 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001528/0.4554, allocations: 1.154 MB / 0.5942 GB, free: 13.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003976/0.4558, allocations: 221.3 kB / 0.5944 GB, free: 13.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4558, allocations: 0 / 0.5944 GB, free: 13.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001998/0.456, allocations: 138 kB / 0.5945 GB, free: 13.06 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.4563, allocations: 37.55 kB / 0.5946 GB, free: 13.04 MB / 446.1 MB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00218/0.4585, allocations: 1.461 MB / 0.596 GB, free: 12.29 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.4588, allocations: 0.7642 MB / 0.5967 GB, free: 11.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000346/0.4592, allocations: 143.9 kB / 0.5969 GB, free: 11.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.4593, allocations: 86.88 kB / 0.5969 GB, free: 11.48 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4593, allocations: 1.344 kB / 0.5969 GB, free: 11.48 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3185/0.7778, allocations: 5.35 MB / 0.6022 GB, free: 9.309 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001632/0.778, allocations: 241.2 kB / 0.6024 GB, free: 9.07 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.705/2.483, allocations: 0 / 0.6024 GB, free: 9.07 MB / 446.1 MB (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) Environment - environmentSimulation: