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.0008554/0.0008554, allocations: 113.9 kB / 18.94 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.0008348/0.0008348, allocations: 217.2 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.9957/0.9957, allocations: 230.6 MB / 256 MB, free: 9.781 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.826/0.826, allocations: 203.8 MB / 0.5042 GB, free: 10.7 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.Examples.OccupancySchedule,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Examples_OccupancySchedule",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.0009143/0.0009143, allocations: 67.83 kB / 0.7182 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5339/0.5349, allocations: 102 MB / 0.8178 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.001693/0.5365, allocations: 1.441 MB / 0.8192 GB, free: 248 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000619/0.5372, allocations: 0.4901 MB / 0.8197 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.757e-05/0.5372, allocations: 0 / 0.8197 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 7.849e-05/0.5373, allocations: 5.438 kB / 0.8197 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.466e-05/0.5373, allocations: 19.47 kB / 0.8197 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000625/0.538, allocations: 243.3 kB / 0.82 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002019/0.5382, allocations: 148.2 kB / 0.8201 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.716e-05/0.5382, allocations: 7 kB / 0.8201 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.472e-05/0.5383, allocations: 56.91 kB / 0.8202 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.339e-05/0.5384, allocations: 46.16 kB / 0.8202 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.5384, allocations: 8.188 kB / 0.8202 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002606/0.5386, allocations: 198.6 kB / 0.8204 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.233e-05/0.5387, allocations: 41.25 kB / 0.8205 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.079e-05/0.5388, allocations: 54.11 kB / 0.8205 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002817/0.5391, allocations: 231.6 kB / 0.8207 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.5391, allocations: 0 / 0.8207 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.044e-06/0.5391, allocations: 0 / 0.8207 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.5391, allocations: 0 / 0.8207 GB, free: 15.49 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004593/0.5395, allocations: 382 kB / 0.8211 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.5396, allocations: 12.88 kB / 0.8211 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.927e-05/0.5396, allocations: 31.97 kB / 0.8211 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.686e-05/0.5397, allocations: 15.58 kB / 0.8212 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/0.5398, allocations: 157.7 kB / 0.8213 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.5398, allocations: 8.281 kB / 0.8213 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/0.5398, allocations: 9.078 kB / 0.8213 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.54, allocations: 85.7 kB / 0.8214 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.54, allocations: 4.594 kB / 0.8214 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.54, allocations: 0 / 0.8214 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.54, allocations: 0 / 0.8214 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.866e-05/0.5401, allocations: 39.66 kB / 0.8214 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000185/0.5402, allocations: 204.8 kB / 0.8216 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.361e-05/0.5403, allocations: 76.64 kB / 0.8217 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.549e-05/0.5404, allocations: 48.22 kB / 0.8218 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.237e-06/0.5404, allocations: 1.828 kB / 0.8218 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001582/0.5405, allocations: 119 kB / 0.8219 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 9.12e-07/0.5405, allocations: 0 / 0.8219 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0002764/0.5408, allocations: 185.1 kB / 0.822 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/0.5409, allocations: 83.81 kB / 0.8221 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.541, allocations: 159.8 kB / 0.8223 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.541, allocations: 36.22 kB / 0.8223 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.411e-05/0.5411, allocations: 106.7 kB / 0.8224 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.118e-05/0.5411, allocations: 38.14 kB / 0.8225 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.262e-05/0.5412, allocations: 52.23 kB / 0.8225 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.415e-05/0.5413, allocations: 321.4 kB / 0.8228 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.134e-05/0.5413, allocations: 41.33 kB / 0.8228 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.5415, allocations: 198.8 kB / 0.823 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.5416, allocations: 102.5 kB / 0.8231 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5416, allocations: 0 / 0.8231 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001713/0.5418, allocations: 167.6 kB / 0.8233 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.5418, allocations: 9.594 kB / 0.8233 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.969e-05/0.5418, allocations: 8.172 kB / 0.8233 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.5418, allocations: 1.188 kB / 0.8233 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.088e-05/0.5419, allocations: 7.328 kB / 0.8233 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.5419, allocations: 1.812 kB / 0.8233 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000169/0.542, allocations: 78.66 kB / 0.8234 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.542, allocations: 4.406 kB / 0.8234 GB, free: 13.36 MB / 0.6198 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 9.546e-05/0.5421, allocations: 141.7 kB / 0.8235 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.435e-05/0.5422, allocations: 13.73 kB / 0.8235 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.722e-05/0.5422, allocations: 17.48 kB / 0.8236 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.5422, allocations: 1.094 kB / 0.8236 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.5422, allocations: 1.031 kB / 0.8236 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.5422, allocations: 6.062 kB / 0.8236 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.5423, allocations: 167.3 kB / 0.8237 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.5423, allocations: 1.125 kB / 0.8237 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.899e-05/0.5423, allocations: 6.75 kB / 0.8237 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.5423, allocations: 2.375 kB / 0.8237 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.5423, allocations: 1.562 kB / 0.8237 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.5423, allocations: 0.9062 kB / 0.8237 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5423, allocations: 2.125 kB / 0.8237 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004756/0.5428, allocations: 192.4 kB / 0.8239 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.233e-05/0.5428, allocations: 14.14 kB / 0.8239 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.5428, allocations: 5.969 kB / 0.824 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.054e-05/0.5429, allocations: 1.375 kB / 0.824 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.679e-05/0.5429, allocations: 6.109 kB / 0.824 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.5429, allocations: 3.406 kB / 0.824 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.952e-05/0.5429, allocations: 118 kB / 0.8241 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5429, allocations: 1.5 kB / 0.8241 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001969/0.5431, allocations: 75.83 kB / 0.8241 GB, free: 12.79 MB / 0.6198 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.0004307/0.5436, allocations: 0.779 MB / 0.8249 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001938/0.5438, allocations: 166.7 kB / 0.8251 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5438, allocations: 4 kB / 0.8251 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.521e-05/0.5438, allocations: 37.5 kB / 0.8251 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001185/0.5439, allocations: 8.844 kB / 0.8251 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.5452, allocations: 1.713 MB / 0.8268 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002076/0.5454, allocations: 0.7058 MB / 0.8275 GB, free: 9.973 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.361e-05/0.5455, allocations: 13.28 kB / 0.8275 GB, free: 9.965 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.357e-05/0.5455, allocations: 26.89 kB / 0.8275 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of SimCode: time 3.2e-07/0.5455, allocations: 0 / 0.8275 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01881/0.5643, allocations: 4.146 MB / 0.8316 GB, free: 9.316 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.735/7.299, allocations: 11.12 kB / 0.8316 GB, free: 9.312 MB / 0.6198 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule_res.csv --start-time -86400 --stop-time 1.2096e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 518.4 IDEAS_dev_IDEAS_Controls_SetPoints_Examples_OccupancySchedule.fmu > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.454191762022674] Failed to read output from testmodel.py, exit status != 0: 7.383076105033979 7.401544795 6.858893226 Calling exit ...