Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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.001176/0.001176, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 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.0009535/0.0009535, allocations: 221.7 kB / 22.26 MB, free: 3.695 MB / 13.93 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 0.9606/0.9606, allocations: 230.6 MB / 256 MB, free: 9.809 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7935/0.7935, allocations: 203.8 MB / 0.5042 GB, free: 10.76 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",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.001024/0.001024, allocations: 62.66 kB / 0.7182 GB, free: 4.418 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5824/0.5834, allocations: 102 MB / 0.8178 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002066/0.5855, allocations: 1.51 MB / 0.8193 GB, free: 220 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008477/0.5863, allocations: 0.6773 MB / 0.82 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.941e-05/0.5864, allocations: 1.094 kB / 0.82 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.003e-05/0.5864, allocations: 11.42 kB / 0.82 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.098e-05/0.5865, allocations: 17.62 kB / 0.82 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008687/0.5874, allocations: 361.7 kB / 0.8203 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000231/0.5876, allocations: 170.9 kB / 0.8205 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.394e-05/0.5876, allocations: 14.03 kB / 0.8205 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.784e-05/0.5877, allocations: 72.17 kB / 0.8206 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.925e-05/0.5878, allocations: 56.84 kB / 0.8206 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.66e-05/0.5879, allocations: 11.47 kB / 0.8207 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003789/0.5882, allocations: 291.9 kB / 0.8209 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.55e-05/0.5883, allocations: 34.36 kB / 0.821 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.396e-05/0.5884, allocations: 64.03 kB / 0.821 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004972/0.5889, allocations: 296.2 kB / 0.8213 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.5889, allocations: 0 / 0.8213 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.264e-06/0.5889, allocations: 0 / 0.8213 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.5889, allocations: 7.938 kB / 0.8213 GB, free: 15.2 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000699/0.5896, allocations: 415.6 kB / 0.8217 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.65e-05/0.5897, allocations: 11.11 kB / 0.8217 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.407e-05/0.5897, allocations: 37.72 kB / 0.8218 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.938e-05/0.5898, allocations: 13.23 kB / 0.8218 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.5901, allocations: 150 kB / 0.8219 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.5901, allocations: 8.969 kB / 0.8219 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/0.5901, allocations: 9.234 kB / 0.8219 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002362/0.5904, allocations: 103.1 kB / 0.822 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.5904, allocations: 6.562 kB / 0.822 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.5904, allocations: 3.984 kB / 0.822 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.5904, allocations: 0 / 0.822 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.5905, allocations: 49.84 kB / 0.8221 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003155/0.5908, allocations: 213.6 kB / 0.8223 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.591, allocations: 102.2 kB / 0.8224 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.838e-05/0.5911, allocations: 66.11 kB / 0.8224 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.5911, allocations: 5.344 kB / 0.8225 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002653/0.5914, allocations: 148.7 kB / 0.8226 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=21): time 1.603e-06/0.5914, allocations: 1.75 kB / 0.8226 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21): time 0.0004622/0.5918, allocations: 217.9 kB / 0.8228 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.224e-05/0.5919, allocations: 114.4 kB / 0.8229 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.592, allocations: 145.5 kB / 0.8231 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.652e-05/0.5921, allocations: 45.02 kB / 0.8231 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.259e-05/0.5922, allocations: 93.73 kB / 0.8232 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.071e-05/0.5922, allocations: 65.39 kB / 0.8232 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.902e-05/0.5923, allocations: 59.05 kB / 0.8233 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.5925, allocations: 332.5 kB / 0.8236 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.814e-05/0.5925, allocations: 48.86 kB / 0.8237 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/0.5928, allocations: 180.9 kB / 0.8238 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002518/0.593, allocations: 132.7 kB / 0.824 GB, free: 13 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.593, allocations: 1.188 kB / 0.824 GB, free: 13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003439/0.5934, allocations: 200.9 kB / 0.8242 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/0.5934, allocations: 6.125 kB / 0.8242 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-05/0.5934, allocations: 7.422 kB / 0.8242 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.5935, allocations: 3.453 kB / 0.8242 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.5936, allocations: 11.84 kB / 0.8242 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.5936, allocations: 1.781 kB / 0.8242 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002055/0.5938, allocations: 50.12 kB / 0.8242 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/0.5938, allocations: 10.58 kB / 0.8242 GB, free: 12.88 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 27 (occSchDay2.tNext,$PRE.occSchDay2.tNext,occSchDay2.tNonOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tOcc,$PRE.occSchDay2.tOcc,occSchDay2.occupied,$PRE.occSchDay2.occupied,$whenCondition3,occSchDay1.tNext,$PRE.occSchDay1.tNext,occSchDay1.tNonOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tOcc,$PRE.occSchDay1.tOcc,occSchDay1.occupied,$PRE.occSchDay1.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 (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001667/0.594, allocations: 141.3 kB / 0.8244 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.92e-05/0.594, allocations: 17.67 kB / 0.8244 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.902e-05/0.5941, allocations: 21.53 kB / 0.8244 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.5941, allocations: 2.438 kB / 0.8244 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.5941, allocations: 1.094 kB / 0.8244 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/0.5941, allocations: 0 / 0.8244 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002091/0.5943, allocations: 183.7 kB / 0.8246 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.5943, allocations: 1.344 kB / 0.8246 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.006e-05/0.5943, allocations: 14.12 kB / 0.8246 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.5944, allocations: 2.344 kB / 0.8246 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.5944, allocations: 6.266 kB / 0.8246 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.5944, allocations: 5.531 kB / 0.8246 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.5944, allocations: 1.781 kB / 0.8246 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000347/0.5947, allocations: 204.1 kB / 0.8248 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.729e-05/0.5948, allocations: 13.64 kB / 0.8248 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.899e-05/0.5948, allocations: 2.969 kB / 0.8248 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.135e-05/0.5948, allocations: 16.64 kB / 0.8249 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.371e-05/0.5949, allocations: 12.06 kB / 0.8249 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.5949, allocations: 5.031 kB / 0.8249 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001072/0.595, allocations: 112.2 kB / 0.825 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.595, allocations: 3.938 kB / 0.825 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004138/0.5955, allocations: 106.3 kB / 0.8251 GB, free: 12.27 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,occSchDay2.occupied,occSchDay2.tOcc,occSchDay2.tNonOcc,occSchDay2.tNext,$whenCondition2,occSchDay1.occupied,occSchDay1.tOcc,occSchDay1.tNonOcc,occSchDay1.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 3 (occSchDay.tNext,occSchDay1.tNext,occSchDay2.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.00081/0.5963, allocations: 0.8426 MB / 0.8259 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003662/0.5966, allocations: 209.8 kB / 0.8261 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.5966, allocations: 1.062 kB / 0.8261 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.785e-05/0.5967, allocations: 53.55 kB / 0.8262 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001551/0.5969, allocations: 12.88 kB / 0.8262 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.599, allocations: 1.824 MB / 0.828 GB, free: 9.996 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002242/0.5992, allocations: 0.7097 MB / 0.8286 GB, free: 9.297 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.214e-05/0.5993, allocations: 15.62 kB / 0.8287 GB, free: 9.289 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.481e-05/0.5993, allocations: 34.03 kB / 0.8287 GB, free: 9.27 MB / 0.6198 GB Notification: Performance of SimCode: time 5.91e-07/0.5993, allocations: 0 / 0.8287 GB, free: 9.27 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02325/0.6226, allocations: 4.815 MB / 0.8334 GB, free: 8.59 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.692/7.315, allocations: 3.656 kB / 0.8334 GB, free: 8.59 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --stepSize=127.872 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.288477128837258] Failed to read output from testmodel.py, exit status != 0: 7.394057376775891 7.405251184 6.814257031 Calling exit ...