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.001311/0.001311, allocations: 118.2 kB / 17.13 MB, free: 5.918 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.001293/0.001293, allocations: 192.7 kB / 20.08 MB, free: 2.988 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.419/1.419, allocations: 225.6 MB / 248.5 MB, free: 3.609 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/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.096/1.096, allocations: 175.7 MB / 479.1 MB, free: 3.691 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.00194/0.00194, allocations: 66.48 kB / 0.6663 GB, free: 11.05 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1993, allocations: 94.55 MB / 0.7586 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.002722/0.202, allocations: 1.407 MB / 0.76 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009546/0.2029, allocations: 0.5006 MB / 0.7605 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.641e-05/0.203, allocations: 4 kB / 0.7605 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 7.128e-05/0.203, allocations: 3.938 kB / 0.7605 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.49e-05/0.2031, allocations: 19.84 kB / 0.7605 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007667/0.2039, allocations: 222.2 kB / 0.7607 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002362/0.2041, allocations: 151.7 kB / 0.7609 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.357e-05/0.2041, allocations: 4 kB / 0.7609 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.307e-05/0.2042, allocations: 59.89 kB / 0.7609 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.2043, allocations: 43.83 kB / 0.761 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.335e-05/0.2044, allocations: 8 kB / 0.761 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002766/0.2046, allocations: 171.8 kB / 0.7612 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.491e-05/0.2047, allocations: 35.91 kB / 0.7612 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.772e-05/0.2048, allocations: 55.67 kB / 0.7612 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003475/0.2052, allocations: 239.2 kB / 0.7615 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2052, allocations: 0 / 0.7615 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.452e-06/0.2052, allocations: 4 kB / 0.7615 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.2052, allocations: 0 / 0.7615 GB, free: 14.34 MB / 0.5762 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.0006587/0.2058, allocations: 450.7 kB / 0.7619 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.2059, allocations: 8.031 kB / 0.7619 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.551e-05/0.2059, allocations: 16.84 kB / 0.7619 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.2062, allocations: 212.2 kB / 0.7621 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.2062, allocations: 8.375 kB / 0.7621 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.11e-05/0.2062, allocations: 8.375 kB / 0.7621 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.2064, allocations: 91.83 kB / 0.7622 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.2064, allocations: 192 / 0.7622 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.2064, allocations: 7.875 kB / 0.7622 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.2064, allocations: 0 / 0.7622 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.502e-05/0.2065, allocations: 43.95 kB / 0.7623 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002863/0.2068, allocations: 230.5 kB / 0.7625 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.207, allocations: 85.17 kB / 0.7626 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.474e-05/0.207, allocations: 45.81 kB / 0.7626 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.207, allocations: 0 / 0.7626 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002134/0.2073, allocations: 113 kB / 0.7627 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 9.62e-07/0.2073, allocations: 0 / 0.7627 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.0003955/0.2077, allocations: 190 kB / 0.7629 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.304e-05/0.2077, allocations: 89.03 kB / 0.763 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.2079, allocations: 153.6 kB / 0.7631 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/0.2079, allocations: 33.7 kB / 0.7632 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.579e-05/0.208, allocations: 100.5 kB / 0.7633 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.362e-05/0.2081, allocations: 39.69 kB / 0.7633 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.129e-05/0.2081, allocations: 49.7 kB / 0.7634 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.2083, allocations: 322.8 kB / 0.7637 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.983e-05/0.2084, allocations: 47.97 kB / 0.7637 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.2086, allocations: 195.4 kB / 0.7639 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.2088, allocations: 101.6 kB / 0.764 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2088, allocations: 0 / 0.764 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002499/0.209, allocations: 165.4 kB / 0.7642 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.209, allocations: 4 kB / 0.7642 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.962e-05/0.209, allocations: 4 kB / 0.7642 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.2091, allocations: 0 / 0.7642 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.503e-05/0.2091, allocations: 15.98 kB / 0.7642 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.2091, allocations: 4.141 kB / 0.7642 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002768/0.2094, allocations: 79.8 kB / 0.7643 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.2094, allocations: 4 kB / 0.7643 GB, free: 11.16 MB / 0.5762 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.0001399/0.2096, allocations: 142.8 kB / 0.7644 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.237e-05/0.2096, allocations: 15.89 kB / 0.7644 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.291e-05/0.2096, allocations: 12.72 kB / 0.7644 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.2096, allocations: 4 kB / 0.7644 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.2096, allocations: 0 / 0.7644 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.2096, allocations: 3.984 kB / 0.7644 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.2098, allocations: 185.6 kB / 0.7646 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.2098, allocations: 7.938 kB / 0.7646 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.196e-05/0.2098, allocations: 4 kB / 0.7646 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.2098, allocations: 3.984 kB / 0.7646 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.2099, allocations: 8 kB / 0.7646 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.2099, allocations: 0 / 0.7646 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2099, allocations: 0 / 0.7646 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/0.2101, allocations: 181.8 kB / 0.7648 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.369e-05/0.2102, allocations: 96.89 kB / 0.7649 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.2102, allocations: 7.938 kB / 0.7649 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.308e-05/0.2102, allocations: 8.078 kB / 0.7649 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.2103, allocations: 7.984 kB / 0.7649 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.2103, allocations: 4 kB / 0.7649 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.572e-05/0.2104, allocations: 115.2 kB / 0.765 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2104, allocations: 0 / 0.765 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003071/0.2107, allocations: 71.86 kB / 0.7651 GB, free: 10.19 MB / 0.5762 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.0002498/0.2109, allocations: 167.8 kB / 0.7653 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003485/0.2113, allocations: 152.2 kB / 0.7654 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.2113, allocations: 12 kB / 0.7654 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.041e-05/0.2113, allocations: 35.92 kB / 0.7655 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001624/0.2115, allocations: 9.906 kB / 0.7655 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004619/0.212, allocations: 260.8 kB / 0.7657 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003658/0.2123, allocations: 0.7041 MB / 0.7664 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.693e-05/0.2124, allocations: 15.44 kB / 0.7664 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of SimCode: time 5.62e-07/0.2124, allocations: 4 kB / 0.7664 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of Templates: time 0.004614/0.217, allocations: 2.442 MB / 0.7688 GB, free: 6.336 MB / 0.5762 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.275189660023898] Failed to read output from testmodel.py, exit status != 0: 0.22440285002812743 0.237869304 0.029899042 Calling exit ...