Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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.0007626/0.0007626, 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.0008956/0.0008956, allocations: 221.7 kB / 22.26 MB, free: 3.688 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 1.003/1.003, allocations: 230.6 MB / 256 MB, free: 9.812 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.8195/0.8195, allocations: 203.8 MB / 0.5042 GB, free: 10.74 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.OccupancySchedulePositiveStartTime,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",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.001/0.001, allocations: 65.83 kB / 0.7182 GB, free: 4.398 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5306/0.5316, allocations: 102 MB / 0.8178 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.001845/0.5334, allocations: 1.507 MB / 0.8193 GB, free: 208 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000869/0.5343, allocations: 0.6835 MB / 0.82 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.33e-05/0.5344, allocations: 0 / 0.82 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.423e-05/0.5344, allocations: 8.469 kB / 0.82 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.376e-05/0.5345, allocations: 16.45 kB / 0.82 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008434/0.5353, allocations: 363.4 kB / 0.8204 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000209/0.5356, allocations: 174.2 kB / 0.8205 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.356e-05/0.5356, allocations: 7.141 kB / 0.8205 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.095e-05/0.5357, allocations: 75.09 kB / 0.8206 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.484e-05/0.5358, allocations: 52.39 kB / 0.8206 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.5358, allocations: 11.25 kB / 0.8207 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003484/0.5361, allocations: 293.1 kB / 0.8209 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.986e-05/0.5362, allocations: 37.67 kB / 0.821 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.992e-05/0.5363, allocations: 62.17 kB / 0.821 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003585/0.5366, allocations: 300.3 kB / 0.8213 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.5366, allocations: 4 kB / 0.8213 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5366, allocations: 0 / 0.8213 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.285e-06/0.5367, allocations: 3.938 kB / 0.8213 GB, free: 15.19 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.0005153/0.5372, allocations: 412.2 kB / 0.8217 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.5372, allocations: 14.25 kB / 0.8217 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.68e-05/0.5372, allocations: 39.77 kB / 0.8218 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.339e-05/0.5373, allocations: 11.55 kB / 0.8218 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.5375, allocations: 152.8 kB / 0.8219 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.5375, allocations: 14.62 kB / 0.8219 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.5375, allocations: 7.031 kB / 0.8219 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.5377, allocations: 100.1 kB / 0.822 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.5377, allocations: 3.938 kB / 0.822 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.5377, allocations: 1.5 kB / 0.822 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.5377, allocations: 1.344 kB / 0.822 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.977e-05/0.5378, allocations: 54.03 kB / 0.8221 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002079/0.538, allocations: 217.4 kB / 0.8223 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.5381, allocations: 103.3 kB / 0.8224 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.107e-05/0.5382, allocations: 60.34 kB / 0.8225 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.5382, allocations: 5.969 kB / 0.8225 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00018/0.5383, allocations: 144.6 kB / 0.8226 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=21): time 1.493e-06/0.5384, allocations: 0 / 0.8226 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21): time 0.0003243/0.5387, allocations: 214.9 kB / 0.8228 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.131e-05/0.5387, allocations: 118.1 kB / 0.8229 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.5388, allocations: 149.2 kB / 0.8231 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.5389, allocations: 41.33 kB / 0.8231 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.847e-05/0.5389, allocations: 94.61 kB / 0.8232 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.603e-05/0.539, allocations: 62.55 kB / 0.8233 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.036e-05/0.5391, allocations: 60.77 kB / 0.8233 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.5392, allocations: 325.6 kB / 0.8236 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.824e-05/0.5392, allocations: 49.67 kB / 0.8237 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.5394, allocations: 182.8 kB / 0.8238 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.5396, allocations: 130.9 kB / 0.824 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.5396, allocations: 0 / 0.824 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002319/0.5398, allocations: 206.7 kB / 0.8242 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.5398, allocations: 5.812 kB / 0.8242 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.431e-05/0.5398, allocations: 5.297 kB / 0.8242 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.5399, allocations: 1.375 kB / 0.8242 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.076e-05/0.5399, allocations: 12.67 kB / 0.8242 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.5399, allocations: 1.469 kB / 0.8242 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.5401, allocations: 52.56 kB / 0.8242 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.5401, allocations: 6.547 kB / 0.8243 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 9.633e-05/0.5402, allocations: 148.9 kB / 0.8244 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.622e-05/0.5402, allocations: 16.81 kB / 0.8244 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.739e-05/0.5402, allocations: 21.25 kB / 0.8244 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.5402, allocations: 3.391 kB / 0.8244 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.5403, allocations: 5.484 kB / 0.8244 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.5403, allocations: 1.344 kB / 0.8244 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/0.5404, allocations: 183.1 kB / 0.8246 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.5404, allocations: 1.031 kB / 0.8246 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.407e-05/0.5404, allocations: 13.88 kB / 0.8246 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.5404, allocations: 2.297 kB / 0.8246 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.5404, allocations: 7.312 kB / 0.8246 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.5404, allocations: 1.625 kB / 0.8246 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.5404, allocations: 0 / 0.8246 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.5407, allocations: 208.6 kB / 0.8248 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.552e-05/0.5407, allocations: 13.78 kB / 0.8248 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.5407, allocations: 2.453 kB / 0.8249 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.769e-05/0.5407, allocations: 12.62 kB / 0.8249 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.212e-05/0.5408, allocations: 15.97 kB / 0.8249 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.874e-06/0.5408, allocations: 6.516 kB / 0.8249 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.452e-05/0.5408, allocations: 104.3 kB / 0.825 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5408, allocations: 3.938 kB / 0.825 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002789/0.5411, allocations: 106 kB / 0.8251 GB, free: 12.26 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.0005923/0.5417, allocations: 0.842 MB / 0.8259 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002795/0.542, allocations: 214.7 kB / 0.8261 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.542, allocations: 0 / 0.8261 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.452e-05/0.5421, allocations: 46.47 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.0001455/0.5422, allocations: 14.25 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.001616/0.5438, allocations: 1.83 MB / 0.828 GB, free: 9.992 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.5441, allocations: 0.711 MB / 0.8287 GB, free: 9.293 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.663e-05/0.5441, allocations: 10.17 kB / 0.8287 GB, free: 9.289 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.051e-05/0.5442, allocations: 34.67 kB / 0.8287 GB, free: 9.27 MB / 0.6198 GB Notification: Performance of SimCode: time 6.91e-07/0.5442, allocations: 0 / 0.8287 GB, free: 9.27 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02163/0.5658, allocations: 4.817 MB / 0.8334 GB, free: 8.582 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.503/7.068, allocations: 0.9375 kB / 0.8334 GB, free: 8.582 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --stepSize=48.384 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.09658675105311] Failed to read output from testmodel.py, exit status != 0: 7.148564922856167 7.161028732 6.622455659 Calling exit ...