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.002123/0.002123, allocations: 110.5 kB / 17.6 MB, free: 4.684 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.002379/0.002379, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.636/1.636, allocations: 225.6 MB / 249.4 MB, free: 3.012 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.132/1.132, allocations: 175.7 MB / 480.2 MB, free: 2.785 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.001987/0.001987, allocations: 63.05 kB / 0.6683 GB, free: 10.67 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2341, allocations: 94.53 MB / 0.7607 GB, free: 392 kB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.002677/0.2367, allocations: 1.421 MB / 0.762 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001013/0.2377, allocations: 0.5004 MB / 0.7625 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.455e-05/0.2378, allocations: 0 / 0.7625 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 7.958e-05/0.2379, allocations: 11.88 kB / 0.7625 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.602e-05/0.2379, allocations: 11.91 kB / 0.7625 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008883/0.2388, allocations: 231.2 kB / 0.7628 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002655/0.2391, allocations: 147.7 kB / 0.7629 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.026e-05/0.2391, allocations: 7.938 kB / 0.7629 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 9.174e-05/0.2392, allocations: 55.89 kB / 0.763 GB, free: 14 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.2393, allocations: 47.77 kB / 0.763 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.267e-05/0.2394, allocations: 8 kB / 0.763 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003975/0.2398, allocations: 167.8 kB / 0.7632 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.965e-05/0.2398, allocations: 47.88 kB / 0.7632 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.055e-05/0.2399, allocations: 47.73 kB / 0.7633 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003586/0.2403, allocations: 235.3 kB / 0.7635 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2403, allocations: 0 / 0.7635 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2403, allocations: 0 / 0.7635 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.2403, allocations: 0 / 0.7635 GB, free: 13.45 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.0006397/0.2409, allocations: 450.7 kB / 0.7639 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.241, allocations: 8.031 kB / 0.7639 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.446e-05/0.241, allocations: 12.89 kB / 0.764 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002367/0.2413, allocations: 212.1 kB / 0.7642 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.2413, allocations: 16.36 kB / 0.7642 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/0.2413, allocations: 8.375 kB / 0.7642 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.2415, allocations: 79.95 kB / 0.7643 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.2415, allocations: 4.125 kB / 0.7643 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.2415, allocations: 3.938 kB / 0.7643 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.2415, allocations: 0 / 0.7643 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.339e-05/0.2416, allocations: 43.91 kB / 0.7643 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003495/0.2419, allocations: 242.5 kB / 0.7645 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.2421, allocations: 65.2 kB / 0.7646 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.741e-05/0.2421, allocations: 53.84 kB / 0.7646 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.003e-05/0.2421, allocations: 4 kB / 0.7647 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002302/0.2424, allocations: 121 kB / 0.7648 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.022e-06/0.2424, allocations: 0 / 0.7648 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.0003461/0.2427, allocations: 182 kB / 0.7649 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.618e-05/0.2428, allocations: 89.09 kB / 0.765 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002228/0.243, allocations: 152 kB / 0.7652 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.322e-05/0.243, allocations: 37.69 kB / 0.7652 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.954e-05/0.2431, allocations: 96.52 kB / 0.7653 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.422e-05/0.2432, allocations: 43.69 kB / 0.7653 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.2433, allocations: 49.7 kB / 0.7654 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.2435, allocations: 322.8 kB / 0.7657 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.5e-05/0.2435, allocations: 47.97 kB / 0.7657 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/0.2438, allocations: 204.8 kB / 0.7659 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.2439, allocations: 97.58 kB / 0.766 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2439, allocations: 0 / 0.766 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002482/0.2442, allocations: 173.3 kB / 0.7662 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.2442, allocations: 4 kB / 0.7662 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/0.2442, allocations: 4 kB / 0.7662 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.2442, allocations: 4 kB / 0.7662 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.212e-05/0.2443, allocations: 11.98 kB / 0.7662 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.2443, allocations: 8.078 kB / 0.7662 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000271/0.2446, allocations: 81.91 kB / 0.7663 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.2446, allocations: 4 kB / 0.7663 GB, free: 10.26 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.0001373/0.2447, allocations: 134.9 kB / 0.7664 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.006e-05/0.2447, allocations: 11.89 kB / 0.7664 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.538e-05/0.2448, allocations: 12.72 kB / 0.7665 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2448, allocations: 0 / 0.7665 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.2448, allocations: 4 kB / 0.7665 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2448, allocations: 0 / 0.7665 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.245, allocations: 197.6 kB / 0.7667 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.245, allocations: 3.938 kB / 0.7667 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.344e-05/0.245, allocations: 8 kB / 0.7667 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.245, allocations: 0 / 0.7667 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.245, allocations: 0 / 0.7667 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.695e-06/0.245, allocations: 11.92 kB / 0.7667 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.245, allocations: 0 / 0.7667 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/0.2453, allocations: 177.9 kB / 0.7668 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.15e-05/0.2453, allocations: 100.8 kB / 0.7669 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/0.2453, allocations: 8.094 kB / 0.7669 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.672e-05/0.2454, allocations: 0 / 0.7669 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.247e-05/0.2454, allocations: 11.97 kB / 0.767 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.2454, allocations: 4 kB / 0.767 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 9.599e-05/0.2455, allocations: 117 kB / 0.7671 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.2455, allocations: 0 / 0.7671 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002937/0.2458, allocations: 71.86 kB / 0.7671 GB, free: 9.297 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.0002707/0.2461, allocations: 167 kB / 0.7673 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002729/0.2464, allocations: 155.3 kB / 0.7675 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2464, allocations: 0 / 0.7675 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.885e-05/0.2464, allocations: 39.98 kB / 0.7675 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000159/0.2466, allocations: 11.92 kB / 0.7675 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004563/0.247, allocations: 235.1 kB / 0.7677 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004453/0.2475, allocations: 0.7041 MB / 0.7684 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.871e-05/0.2475, allocations: 8.672 kB / 0.7684 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.585e-05/0.2476, allocations: 15.44 kB / 0.7684 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.2476, allocations: 3.938 kB / 0.7684 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of Templates: time 0.005988/0.2535, allocations: 2.542 MB / 0.7709 GB, free: 5.379 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: 6.572673412039876]