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.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.001361/0.001361, allocations: 109.5 kB / 17.08 MB, free: 5.938 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.001389/0.001389, allocations: 194.7 kB / 20.03 MB, free: 3.012 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.484/1.484, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.279/1.279, allocations: 175.5 MB / 473.4 MB, free: 4.859 MB / 366.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-master/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: 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: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 68.92 kB / 0.652 GB, free: 21.89 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2089, allocations: 90.05 MB / 0.7399 GB, free: 408 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.002812/0.2118, allocations: 1.394 MB / 0.7413 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.2128, allocations: 0.5021 MB / 0.7418 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.588e-05/0.2129, allocations: 0 / 0.7418 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.131e-05/0.213, allocations: 11.92 kB / 0.7418 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.143e-05/0.2131, allocations: 3.938 kB / 0.7418 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008117/0.2139, allocations: 235 kB / 0.742 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002573/0.2142, allocations: 139.8 kB / 0.7422 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.269e-05/0.2142, allocations: 19.91 kB / 0.7422 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.583e-05/0.2143, allocations: 59.83 kB / 0.7422 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.254e-05/0.2144, allocations: 39.84 kB / 0.7423 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.465e-05/0.2145, allocations: 8 kB / 0.7423 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003035/0.2148, allocations: 175.8 kB / 0.7424 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.468e-05/0.2149, allocations: 35.91 kB / 0.7425 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.215, allocations: 51.73 kB / 0.7425 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003809/0.2154, allocations: 231.3 kB / 0.7428 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.2154, allocations: 4 kB / 0.7428 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.455e-06/0.2154, allocations: 0 / 0.7428 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.2154, allocations: 0 / 0.7428 GB, free: 13.5 MB / 0.5606 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.000891/0.2163, allocations: 446.7 kB / 0.7432 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.265e-05/0.2164, allocations: 12.03 kB / 0.7432 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.059e-05/0.2165, allocations: 16.84 kB / 0.7432 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003518/0.2168, allocations: 222 kB / 0.7434 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.2168, allocations: 8.375 kB / 0.7434 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.461e-05/0.2169, allocations: 8.375 kB / 0.7434 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/0.2171, allocations: 83.95 kB / 0.7435 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.2172, allocations: 192 / 0.7435 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/0.2172, allocations: 7.875 kB / 0.7435 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.2172, allocations: 0 / 0.7435 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/0.2174, allocations: 43.91 kB / 0.7436 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004036/0.2178, allocations: 230.5 kB / 0.7438 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.2179, allocations: 82.45 kB / 0.7439 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.2181, allocations: 57.75 kB / 0.7439 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.2181, allocations: 0 / 0.7439 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002803/0.2184, allocations: 109.1 kB / 0.744 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.162e-06/0.2184, allocations: 4 kB / 0.744 GB, free: 12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0004147/0.2188, allocations: 197.3 kB / 0.7442 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.958e-05/0.2189, allocations: 89.09 kB / 0.7443 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.2191, allocations: 148 kB / 0.7444 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.72e-05/0.2191, allocations: 33.7 kB / 0.7445 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.87e-05/0.2192, allocations: 100.5 kB / 0.7446 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.205e-05/0.2193, allocations: 39.69 kB / 0.7446 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.394e-05/0.2194, allocations: 49.7 kB / 0.7447 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001779/0.2196, allocations: 330.8 kB / 0.745 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.533e-05/0.2196, allocations: 39.98 kB / 0.745 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002618/0.2199, allocations: 199.3 kB / 0.7452 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.2201, allocations: 101.6 kB / 0.7453 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.2201, allocations: 4 kB / 0.7453 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002677/0.2204, allocations: 165.4 kB / 0.7455 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.2204, allocations: 8 kB / 0.7455 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.722e-05/0.2204, allocations: 4 kB / 0.7455 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.2204, allocations: 0 / 0.7455 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.34e-05/0.2205, allocations: 15.92 kB / 0.7455 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.2206, allocations: 0 / 0.7455 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002866/0.2209, allocations: 75.8 kB / 0.7456 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.2209, allocations: 4 kB / 0.7456 GB, free: 10.3 MB / 0.5606 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.0001596/0.221, allocations: 138.9 kB / 0.7457 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.303e-05/0.2211, allocations: 11.89 kB / 0.7457 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.001e-05/0.2211, allocations: 16.72 kB / 0.7457 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.2211, allocations: 4.078 kB / 0.7457 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.2211, allocations: 0 / 0.7457 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.2211, allocations: 3.984 kB / 0.7457 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.2214, allocations: 189.6 kB / 0.7459 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.2214, allocations: 3.938 kB / 0.7459 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.786e-05/0.2214, allocations: 11.92 kB / 0.7459 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.2214, allocations: 8 kB / 0.7459 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.2214, allocations: 0 / 0.7459 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.2214, allocations: 0 / 0.7459 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2214, allocations: 0 / 0.7459 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002735/0.2217, allocations: 185.1 kB / 0.7461 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.7e-05/0.2218, allocations: 96.89 kB / 0.7462 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.2218, allocations: 7.938 kB / 0.7462 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.178e-05/0.2219, allocations: 11.98 kB / 0.7462 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.2219, allocations: 4 kB / 0.7462 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.222, allocations: 0 / 0.7462 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001128/0.2221, allocations: 115.2 kB / 0.7463 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2221, allocations: 3.938 kB / 0.7463 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003267/0.2224, allocations: 75.86 kB / 0.7464 GB, free: 9.336 MB / 0.5606 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.0002953/0.2227, allocations: 165.8 kB / 0.7466 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003063/0.223, allocations: 167.3 kB / 0.7467 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.223, allocations: 0 / 0.7467 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.713e-05/0.2231, allocations: 43.98 kB / 0.7468 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001723/0.2233, allocations: 10.12 kB / 0.7468 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005005/0.2238, allocations: 256.9 kB / 0.747 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000422/0.2242, allocations: 0.7078 MB / 0.7477 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.661e-05/0.2243, allocations: 15.44 kB / 0.7477 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of SimCode: time 3.51e-07/0.2243, allocations: 0 / 0.7477 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of Templates: time 0.005154/0.2295, allocations: 2.443 MB / 0.7501 GB, free: 5.48 MB / 0.5606 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: 8.853597891997197] Failed to read output from testmodel.py, exit status != 0: 0.23634119299822487 0.250394769 0.032389672 Calling exit ...