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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 220.3 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.416/1.416, allocations: 230.6 MB / 256 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.824/0.824, allocations: 134 MB / 446.4 MB, free: 10.22 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 72.05 kB / 0.6186 GB, free: 7.172 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1527, allocations: 85.9 MB / 0.7025 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.00332/0.156, allocations: 1.678 MB / 0.7041 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00222/0.1582, allocations: 1.391 MB / 0.7055 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.576e-05/0.1583, allocations: 0 / 0.7055 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002191/0.1585, allocations: 35.77 kB / 0.7055 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003738/0.1589, allocations: 99.55 kB / 0.7056 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003845/0.1593, allocations: 138.4 kB / 0.7057 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003397/0.1596, allocations: 245.5 kB / 0.7059 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.439e-05/0.1597, allocations: 11.98 kB / 0.706 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.1599, allocations: 87.81 kB / 0.706 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002611/0.1601, allocations: 99.64 kB / 0.7061 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.331e-05/0.1602, allocations: 20 kB / 0.7062 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002333/0.1604, allocations: 123.9 kB / 0.7063 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.1605, allocations: 79.81 kB / 0.7064 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.1606, allocations: 103.3 kB / 0.7065 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004367/0.1611, allocations: 326.7 kB / 0.7068 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1611, allocations: 0 / 0.7068 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1611, allocations: 4 kB / 0.7068 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.311e-06/0.1611, allocations: 0 / 0.7068 GB, free: 12.91 MB / 0.5294 GB 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.0008076/0.1619, allocations: 0.4898 MB / 0.7072 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.1619, allocations: 12.03 kB / 0.7073 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.861e-05/0.162, allocations: 46.73 kB / 0.7073 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.66e-05/0.1621, allocations: 28.75 kB / 0.7073 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003045/0.1624, allocations: 217.1 kB / 0.7075 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.1624, allocations: 12.38 kB / 0.7075 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.1624, allocations: 12.38 kB / 0.7076 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003542/0.1628, allocations: 217.8 kB / 0.7078 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.1628, allocations: 0 / 0.7078 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.1628, allocations: 8 kB / 0.7078 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.1628, allocations: 4 kB / 0.7078 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008799/0.1637, allocations: 0.7373 MB / 0.7085 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000921/0.1646, allocations: 0.5427 MB / 0.709 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004807/0.1651, allocations: 279.6 kB / 0.7093 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.1652, allocations: 93.38 kB / 0.7094 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.89e-05/0.1653, allocations: 20.25 kB / 0.7094 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003913/0.1657, allocations: 177.5 kB / 0.7096 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 1.814e-06/0.1657, allocations: 4 kB / 0.7096 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of matching and sorting (n=34): time 0.0006924/0.1664, allocations: 365.9 kB / 0.7099 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.1665, allocations: 140.4 kB / 0.7101 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003528/0.1668, allocations: 312.9 kB / 0.7104 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.582e-05/0.1669, allocations: 33.7 kB / 0.7104 GB, free: 9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.167, allocations: 120.8 kB / 0.7105 GB, free: 8.879 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.1671, allocations: 123 kB / 0.7106 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.1672, allocations: 61.69 kB / 0.7107 GB, free: 8.691 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.1673, allocations: 342.8 kB / 0.711 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.1675, allocations: 84.11 kB / 0.7111 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001992/0.1677, allocations: 135.3 kB / 0.7112 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003405/0.168, allocations: 205.2 kB / 0.7114 GB, free: 7.918 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.168, allocations: 0 / 0.7114 GB, free: 7.918 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004964/0.1685, allocations: 285.1 kB / 0.7117 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.1686, allocations: 4 kB / 0.7117 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.1686, allocations: 11.94 kB / 0.7117 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.1686, allocations: 4 kB / 0.7117 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.1688, allocations: 63.91 kB / 0.7118 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.1688, allocations: 0 / 0.7118 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.169, allocations: 27.83 kB / 0.7118 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.891e-05/0.169, allocations: 15.94 kB / 0.7118 GB, free: 7.508 MB / 0.5294 GB 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.0001925/0.1692, allocations: 161.7 kB / 0.712 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.147e-05/0.1693, allocations: 23.86 kB / 0.712 GB, free: 7.316 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007164/0.17, allocations: 380.9 kB / 0.7123 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.17, allocations: 4 kB / 0.7123 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.17, allocations: 4 kB / 0.7124 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.17, allocations: 0 / 0.7124 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000352/0.1703, allocations: 304.4 kB / 0.7126 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.1703, allocations: 0 / 0.7126 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001912/0.1705, allocations: 59.95 kB / 0.7127 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.1705, allocations: 7.984 kB / 0.7127 GB, free: 6.523 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/0.1706, allocations: 11.98 kB / 0.7127 GB, free: 6.512 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.1706, allocations: 3.984 kB / 0.7127 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1706, allocations: 0 / 0.7127 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005274/0.1711, allocations: 335.3 kB / 0.713 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.1712, allocations: 67.67 kB / 0.7131 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.221e-05/0.1713, allocations: 11.98 kB / 0.7131 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.1714, allocations: 12 kB / 0.7131 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.468e-05/0.1715, allocations: 23.94 kB / 0.7132 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.861e-05/0.1715, allocations: 20 kB / 0.7132 GB, free: 6.027 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002242/0.1717, allocations: 240.4 kB / 0.7134 GB, free: 5.793 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1717, allocations: 0 / 0.7134 GB, free: 5.793 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003192/0.172, allocations: 75.86 kB / 0.7135 GB, free: 5.719 MB / 0.5294 GB 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.002321/0.1743, allocations: 1.205 MB / 0.7147 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004179/0.1748, allocations: 215.8 kB / 0.7149 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1748, allocations: 0 / 0.7149 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000194/0.175, allocations: 120.4 kB / 0.715 GB, free: 4.355 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.1752, allocations: 35.67 kB / 0.715 GB, free: 4.324 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003171/0.1784, allocations: 2.507 MB / 0.7175 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/0.1788, allocations: 0.7535 MB / 0.7182 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003198/0.1791, allocations: 146.9 kB / 0.7183 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.1793, allocations: 95.39 kB / 0.7184 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of SimCode: time 2.81e-07/0.1793, allocations: 0 / 0.7184 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03689/0.2161, allocations: 6.244 MB / 0.7245 GB, free: 10.54 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/10.81, allocations: 2.656 kB / 0.7245 GB, free: 10.54 MB / 0.545 GB " [Timeout remaining time 649] (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/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin_fmu --startTime=0 --stopTime=432000 --stepSize=172.8 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.408280080882832] Failed to read output from testmodel.py, exit status != 0: 11.014574351953343 11.038746606 10.873282655 Calling exit ...