Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.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.0007558/0.0007558, allocations: 115 kB / 19.7 MB, free: 0.5273 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.0007621/0.0007621, allocations: 207.8 kB / 23.01 MB, free: 3.121 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.888/0.888, allocations: 230.6 MB / 256.8 MB, free: 3.434 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.7675/0.7675, allocations: 203.8 MB / 0.5049 GB, free: 0.7031 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: translateModel(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule") translateModel(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule") [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.0009292/0.0009292, allocations: 71.73 kB / 0.7194 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4167/0.4176, allocations: 102 MB / 0.8191 GB, free: 14.59 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.001816/0.4194, allocations: 1.422 MB / 0.8205 GB, free: 13.15 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006163/0.4201, allocations: 0.4997 MB / 0.8209 GB, free: 12.65 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.575e-05/0.4201, allocations: 0 / 0.8209 GB, free: 12.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.165e-05/0.4202, allocations: 11.88 kB / 0.821 GB, free: 12.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.444e-05/0.4202, allocations: 11.92 kB / 0.821 GB, free: 12.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005735/0.4208, allocations: 242 kB / 0.8212 GB, free: 12.39 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000173/0.421, allocations: 147.7 kB / 0.8213 GB, free: 12.25 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.318e-05/0.421, allocations: 4 kB / 0.8213 GB, free: 12.25 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.808e-05/0.4211, allocations: 59.89 kB / 0.8214 GB, free: 12.19 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.152e-05/0.4211, allocations: 47.83 kB / 0.8214 GB, free: 12.14 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.4212, allocations: 8 kB / 0.8214 GB, free: 12.13 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002072/0.4214, allocations: 195.8 kB / 0.8216 GB, free: 11.94 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.041e-05/0.4214, allocations: 37.69 kB / 0.8217 GB, free: 11.91 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.191e-05/0.4215, allocations: 51.72 kB / 0.8217 GB, free: 11.86 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002447/0.4217, allocations: 238 kB / 0.8219 GB, free: 11.63 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4217, allocations: 0 / 0.8219 GB, free: 11.63 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4217, allocations: 0 / 0.8219 GB, free: 11.63 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.4218, allocations: 0 / 0.8219 GB, free: 11.63 MB / 0.6042 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.0006145/0.4224, allocations: 385.5 kB / 0.8223 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.4224, allocations: 9.469 kB / 0.8223 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.467e-05/0.4225, allocations: 12.89 kB / 0.8223 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.4226, allocations: 151.8 kB / 0.8225 GB, free: 11.03 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.4226, allocations: 16.31 kB / 0.8225 GB, free: 11.01 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.4227, allocations: 8.375 kB / 0.8225 GB, free: 11 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.4228, allocations: 83.94 kB / 0.8226 GB, free: 10.91 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.4228, allocations: 4.188 kB / 0.8226 GB, free: 10.91 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.4228, allocations: 3.938 kB / 0.8226 GB, free: 10.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.4228, allocations: 0 / 0.8226 GB, free: 10.9 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.736e-05/0.4229, allocations: 39.92 kB / 0.8226 GB, free: 10.86 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001703/0.423, allocations: 213.5 kB / 0.8228 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.055e-05/0.4231, allocations: 65.2 kB / 0.8229 GB, free: 10.53 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.211e-05/0.4232, allocations: 69.77 kB / 0.823 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.4232, allocations: 0 / 0.823 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001638/0.4233, allocations: 105.1 kB / 0.8231 GB, free: 10.33 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=14): time 6.52e-07/0.4233, allocations: 0 / 0.8231 GB, free: 10.33 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.0002546/0.4236, allocations: 189.5 kB / 0.8232 GB, free: 10.14 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/0.4236, allocations: 85.11 kB / 0.8233 GB, free: 10.04 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.906e-05/0.4237, allocations: 163.6 kB / 0.8235 GB, free: 9.871 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.4237, allocations: 33.7 kB / 0.8235 GB, free: 9.832 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.575e-05/0.4238, allocations: 104.5 kB / 0.8236 GB, free: 9.723 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.544e-05/0.4238, allocations: 35.72 kB / 0.8236 GB, free: 9.688 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.834e-05/0.4239, allocations: 53.7 kB / 0.8237 GB, free: 9.629 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.552e-05/0.424, allocations: 318.8 kB / 0.824 GB, free: 9.309 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.949e-05/0.424, allocations: 51.86 kB / 0.8241 GB, free: 9.258 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.4241, allocations: 195.4 kB / 0.8242 GB, free: 9.012 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.277e-05/0.4242, allocations: 98.62 kB / 0.8243 GB, free: 8.914 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4242, allocations: 3.938 kB / 0.8243 GB, free: 8.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001498/0.4244, allocations: 169.4 kB / 0.8245 GB, free: 8.738 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.4244, allocations: 4 kB / 0.8245 GB, free: 8.734 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.28e-05/0.4244, allocations: 4 kB / 0.8245 GB, free: 8.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.4244, allocations: 0 / 0.8245 GB, free: 8.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.044e-05/0.4245, allocations: 11.94 kB / 0.8245 GB, free: 8.719 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.4245, allocations: 3.984 kB / 0.8245 GB, free: 8.715 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.4247, allocations: 82.33 kB / 0.8246 GB, free: 8.637 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.4247, allocations: 4 kB / 0.8246 GB, free: 8.633 MB / 0.6042 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 8.201e-05/0.4247, allocations: 134.8 kB / 0.8247 GB, free: 8.492 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.137e-05/0.4248, allocations: 15.89 kB / 0.8247 GB, free: 8.477 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.533e-05/0.4248, allocations: 16.72 kB / 0.8248 GB, free: 8.457 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.4248, allocations: 4 kB / 0.8248 GB, free: 8.453 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.4248, allocations: 0 / 0.8248 GB, free: 8.453 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.4248, allocations: 0 / 0.8248 GB, free: 8.453 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.088e-05/0.4249, allocations: 164.6 kB / 0.8249 GB, free: 8.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.4249, allocations: 7.938 kB / 0.8249 GB, free: 8.242 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.032e-05/0.4249, allocations: 7.938 kB / 0.8249 GB, free: 8.234 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.4249, allocations: 0 / 0.8249 GB, free: 8.234 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.4249, allocations: 4 kB / 0.8249 GB, free: 8.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.4249, allocations: 0 / 0.8249 GB, free: 8.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.4249, allocations: 4 kB / 0.8249 GB, free: 8.227 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001466/0.4251, allocations: 185.8 kB / 0.8251 GB, free: 8.023 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.307e-05/0.4251, allocations: 19.78 kB / 0.8251 GB, free: 8.004 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.4251, allocations: 4 kB / 0.8251 GB, free: 8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.371e-05/0.4251, allocations: 7.938 kB / 0.8252 GB, free: 7.992 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/0.4252, allocations: 3.984 kB / 0.8252 GB, free: 7.988 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.4252, allocations: 11.94 kB / 0.8252 GB, free: 7.977 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.784e-05/0.4252, allocations: 115.2 kB / 0.8253 GB, free: 7.863 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.4252, allocations: 0 / 0.8253 GB, free: 7.863 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001888/0.4254, allocations: 71.86 kB / 0.8253 GB, free: 7.793 MB / 0.6042 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.0001695/0.4256, allocations: 155.1 kB / 0.8255 GB, free: 7.633 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001837/0.4257, allocations: 156 kB / 0.8256 GB, free: 7.469 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4257, allocations: 0 / 0.8256 GB, free: 7.469 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.874e-05/0.4258, allocations: 40.06 kB / 0.8257 GB, free: 7.43 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000127/0.4259, allocations: 19.92 kB / 0.8257 GB, free: 7.41 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003338/0.4262, allocations: 257.2 kB / 0.8259 GB, free: 7.125 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001891/0.4264, allocations: 0.708 MB / 0.8266 GB, free: 6.391 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.163e-05/0.4265, allocations: 11.44 kB / 0.8266 GB, free: 6.379 MB / 0.6042 GB Notification: Performance of SimCode: time 6.12e-07/0.4265, allocations: 0 / 0.8266 GB, free: 6.379 MB / 0.6042 GB Notification: Performance of Templates: time 0.00302/0.4295, allocations: 2.445 MB / 0.829 GB, free: 3.953 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.sim & ./IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.606849052011967] Failed to read output from testmodel.py, exit status != 0: 0.4367459479253739 0.443184965 0.019907145 Calling exit ...