Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.7982/0.7982, allocations: 134 MB / 436.6 MB, free: 1.27 MB / 334.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.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.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="IDEAS_IDEAS_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="IDEAS_IDEAS_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 64.56 kB / 0.6051 GB, free: 15.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1542, allocations: 84.68 MB / 0.6878 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.002373/0.1566, allocations: 1.412 MB / 0.6891 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0008645/0.1575, allocations: 0.5025 MB / 0.6896 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.976e-05/0.1575, allocations: 0 / 0.6896 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 7.845e-05/0.1576, allocations: 15.92 kB / 0.6897 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.06e-05/0.1576, allocations: 3.938 kB / 0.6897 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007136/0.1583, allocations: 239.9 kB / 0.6899 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002097/0.1585, allocations: 143.8 kB / 0.69 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.592e-05/0.1586, allocations: 4 kB / 0.69 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.427e-05/0.1587, allocations: 59.83 kB / 0.6901 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.366e-05/0.1587, allocations: 39.84 kB / 0.6901 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.537e-05/0.1588, allocations: 12 kB / 0.6901 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002522/0.159, allocations: 175.8 kB / 0.6903 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.009e-05/0.1591, allocations: 35.91 kB / 0.6903 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.288e-05/0.1592, allocations: 51.77 kB / 0.6904 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003218/0.1595, allocations: 239.5 kB / 0.6906 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1595, allocations: 3.938 kB / 0.6906 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1595, allocations: 0 / 0.6906 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.1595, allocations: 0 / 0.6906 GB, free: 8.227 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005927/0.1601, allocations: 446.7 kB / 0.691 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.1601, allocations: 12.03 kB / 0.6911 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.15e-05/0.1602, allocations: 38.75 kB / 0.6911 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.729e-05/0.1602, allocations: 16.84 kB / 0.6911 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.1605, allocations: 216.1 kB / 0.6913 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.1605, allocations: 8.312 kB / 0.6913 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.097e-05/0.1605, allocations: 12.38 kB / 0.6913 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.1607, allocations: 80.72 kB / 0.6914 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.1607, allocations: 3.938 kB / 0.6914 GB, free: 7.301 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.1607, allocations: 4 kB / 0.6914 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/0.1607, allocations: 4 kB / 0.6914 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.394e-05/0.1608, allocations: 39.91 kB / 0.6915 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002488/0.161, allocations: 222.6 kB / 0.6917 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.1611, allocations: 77.23 kB / 0.6917 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.944e-05/0.1612, allocations: 57.75 kB / 0.6918 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.1612, allocations: 0 / 0.6918 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002028/0.1614, allocations: 113 kB / 0.6919 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.062e-06/0.1614, allocations: 0 / 0.6919 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0003484/0.1618, allocations: 186 kB / 0.6921 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.258e-05/0.1619, allocations: 89.09 kB / 0.6922 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.162, allocations: 152.4 kB / 0.6923 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.162, allocations: 33.7 kB / 0.6923 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.277e-05/0.1621, allocations: 100.5 kB / 0.6924 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.978e-05/0.1621, allocations: 43.67 kB / 0.6925 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.74e-05/0.1622, allocations: 53.64 kB / 0.6925 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1624, allocations: 326.8 kB / 0.6928 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.578e-05/0.1624, allocations: 39.97 kB / 0.6929 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000219/0.1626, allocations: 204.6 kB / 0.6931 GB, free: 5.383 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.1628, allocations: 96.48 kB / 0.6932 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1628, allocations: 4 kB / 0.6932 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002264/0.163, allocations: 161.4 kB / 0.6933 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.163, allocations: 8 kB / 0.6933 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.439e-05/0.163, allocations: 3.938 kB / 0.6933 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.1631, allocations: 4.094 kB / 0.6933 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.542e-05/0.1631, allocations: 19.91 kB / 0.6934 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.1631, allocations: 4 kB / 0.6934 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002525/0.1634, allocations: 63.91 kB / 0.6934 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.1634, allocations: 8 kB / 0.6934 GB, free: 5.008 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 (occSchWee.tNext,$PRE.occSchWee.tNext,occSchWee.tNonOcc,$PRE.occSchWee.tNonOcc,occSchWee.tOcc,$PRE.occSchWee.tOcc,occSchWee.occupied,$PRE.occSchWee.occupied,$whenCondition2,occSchDay.tNext,$PRE.occSchDay.tNext,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001178/0.1635, allocations: 138.8 kB / 0.6936 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/0.1636, allocations: 19.84 kB / 0.6936 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.136e-05/0.1636, allocations: 12.72 kB / 0.6936 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1636, allocations: 4 kB / 0.6936 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1636, allocations: 0 / 0.6936 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1636, allocations: 3.984 kB / 0.6936 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.1637, allocations: 189.6 kB / 0.6938 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1638, allocations: 4 kB / 0.6938 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.397e-05/0.1638, allocations: 11.94 kB / 0.6938 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1638, allocations: 3.938 kB / 0.6938 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.1638, allocations: 7.984 kB / 0.6938 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.1638, allocations: 4 kB / 0.6938 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1638, allocations: 0 / 0.6938 GB, free: 4.551 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002228/0.164, allocations: 185.8 kB / 0.694 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.926e-05/0.1641, allocations: 85.06 kB / 0.6941 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.1641, allocations: 0 / 0.6941 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.887e-05/0.1641, allocations: 4 kB / 0.6941 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.898e-05/0.1642, allocations: 7.984 kB / 0.6941 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.1642, allocations: 4 kB / 0.6941 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.108e-05/0.1643, allocations: 123.1 kB / 0.6942 GB, free: 4.109 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1643, allocations: 0 / 0.6942 GB, free: 4.109 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002808/0.1646, allocations: 79.8 kB / 0.6943 GB, free: 4.031 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,occSchWee.occupied,occSchWee.tOcc,occSchWee.tNonOcc,occSchWee.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 2 (occSchDay.tNext,occSchWee.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006398/0.1652, allocations: 0.7776 MB / 0.695 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002582/0.1655, allocations: 159.3 kB / 0.6952 GB, free: 3.059 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1655, allocations: 0 / 0.6952 GB, free: 3.059 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.112e-05/0.1655, allocations: 47.91 kB / 0.6952 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001498/0.1657, allocations: 7.062 kB / 0.6953 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.1674, allocations: 1.719 MB / 0.6969 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.1677, allocations: 0.7041 MB / 0.6976 GB, free: 476 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.977e-05/0.1678, allocations: 12.66 kB / 0.6976 GB, free: 460 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.59e-05/0.1678, allocations: 31.42 kB / 0.6977 GB, free: 428 kB / 0.5137 GB Notification: Performance of SimCode: time 2.81e-07/0.1678, allocations: 0 / 0.6977 GB, free: 428 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02455/0.1924, allocations: 3.964 MB / 0.7015 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.628/7.821, allocations: 3.984 kB / 0.7015 GB, free: 12.59 MB / 0.5294 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --stepSize=518.4 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_SetPoints_Examples_OccupancySchedule.fmu > IDEAS_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.076080189086497] Failed to read output from testmodel.py, exit status != 0: 7.88509134342894 7.898520259 7.736376484 Calling exit ...