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.002031/0.002031, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002304/0.002304, allocations: 191.7 kB / 22.23 MB, free: 5.105 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.511/1.511, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.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.143/1.143, allocations: 177.9 MB / 484.2 MB, free: 5.379 MB / 382.1 MB
"
[Timeout remaining time 178]
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.002098/0.002098, allocations: 60.45 kB / 0.674 GB, free: 10.83 MB / 0.4981 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.6907/0.6928, allocations: 95.17 MB / 0.7669 GB, free: 7.977 MB / 0.5762 GB
Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.OccupancySchedule): time 0.002393/0.6952, allocations: 1.422 MB / 0.7683 GB, free: 7.309 MB / 0.5762 GB
Notification: Performance of NFInst.instExpressions: time 0.000872/0.696, allocations: 0.5027 MB / 0.7688 GB, free: 6.969 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.171e-05/0.6961, allocations: 0 / 0.7688 GB, free: 6.969 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 7.986e-05/0.6962, allocations: 7.766 kB / 0.7688 GB, free: 6.965 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 5.503e-05/0.6962, allocations: 8.375 kB / 0.7688 GB, free: 6.961 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0007667/0.697, allocations: 243.7 kB / 0.769 GB, free: 6.852 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 0.0002363/0.6972, allocations: 150.8 kB / 0.7692 GB, free: 6.793 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.134e-05/0.6973, allocations: 2.625 kB / 0.7692 GB, free: 6.793 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 7.988e-05/0.6973, allocations: 60.66 kB / 0.7692 GB, free: 6.77 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 8.712e-05/0.6974, allocations: 44.3 kB / 0.7693 GB, free: 6.75 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 3.522e-05/0.6975, allocations: 9.656 kB / 0.7693 GB, free: 6.75 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003301/0.6978, allocations: 198.6 kB / 0.7695 GB, free: 6.688 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 6.975e-05/0.6979, allocations: 33.42 kB / 0.7695 GB, free: 6.672 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 8.598e-05/0.6979, allocations: 60.56 kB / 0.7696 GB, free: 6.633 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.000351/0.6983, allocations: 231.6 kB / 0.7698 GB, free: 6.562 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 8.897e-06/0.6983, allocations: 0 / 0.7698 GB, free: 6.562 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 2.735e-06/0.6983, allocations: 0 / 0.7698 GB, free: 6.562 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 8.617e-06/0.6983, allocations: 1.469 kB / 0.7698 GB, free: 6.562 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.000584/0.6989, allocations: 379 kB / 0.7701 GB, free: 6.23 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.6989, allocations: 12.38 kB / 0.7701 GB, free: 6.227 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.47e-05/0.699, allocations: 17.88 kB / 0.7702 GB, free: 6.219 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.6992, allocations: 147.2 kB / 0.7703 GB, free: 6.074 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.6992, allocations: 10.38 kB / 0.7703 GB, free: 6.07 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.955e-05/0.6992, allocations: 9.375 kB / 0.7703 GB, free: 6.07 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.6994, allocations: 90.39 kB / 0.7704 GB, free: 6.004 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.6994, allocations: 4.188 kB / 0.7704 GB, free: 6 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.6994, allocations: 7.938 kB / 0.7704 GB, free: 5.992 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.6994, allocations: 1.188 kB / 0.7704 GB, free: 5.992 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.967e-05/0.6995, allocations: 41.38 kB / 0.7705 GB, free: 5.98 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002302/0.6998, allocations: 194.9 kB / 0.7706 GB, free: 5.797 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.6999, allocations: 78.83 kB / 0.7707 GB, free: 5.734 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 8.099e-05/0.7, allocations: 49.14 kB / 0.7708 GB, free: 5.707 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.7, allocations: 2.312 kB / 0.7708 GB, free: 5.707 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002164/0.7002, allocations: 107.7 kB / 0.7709 GB, free: 5.629 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=14): time 1.333e-06/0.7002, allocations: 3.938 kB / 0.7709 GB, free: 5.625 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=14): time 0.0003805/0.7006, allocations: 192.4 kB / 0.7711 GB, free: 5.543 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.7007, allocations: 88.77 kB / 0.7711 GB, free: 5.445 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.7008, allocations: 152.8 kB / 0.7713 GB, free: 5.328 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.7008, allocations: 38.55 kB / 0.7713 GB, free: 5.293 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 4.906e-05/0.7009, allocations: 98.89 kB / 0.7714 GB, free: 5.195 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 4.615e-05/0.7009, allocations: 42.8 kB / 0.7715 GB, free: 5.16 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 8.178e-05/0.701, allocations: 48.94 kB / 0.7715 GB, free: 5.133 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 4.841e-05/0.701, allocations: 322.6 kB / 0.7718 GB, free: 4.816 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.403e-05/0.7011, allocations: 45.11 kB / 0.7719 GB, free: 4.805 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002079/0.7013, allocations: 200 kB / 0.7721 GB, free: 4.633 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.7015, allocations: 107.4 kB / 0.7722 GB, free: 4.574 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.7015, allocations: 1.438 kB / 0.7722 GB, free: 4.574 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002342/0.7017, allocations: 158.5 kB / 0.7723 GB, free: 4.5 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.7017, allocations: 4.969 kB / 0.7723 GB, free: 4.5 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.216e-05/0.7018, allocations: 4.859 kB / 0.7723 GB, free: 4.5 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.7018, allocations: 4 kB / 0.7723 GB, free: 4.496 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.872e-05/0.7019, allocations: 14.16 kB / 0.7723 GB, free: 4.492 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.7019, allocations: 0.9375 kB / 0.7723 GB, free: 4.492 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002908/0.7022, allocations: 78.06 kB / 0.7724 GB, free: 4.477 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.7022, allocations: 3.625 kB / 0.7724 GB, free: 4.477 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 9.161e-05/0.7023, allocations: 134 kB / 0.7725 GB, free: 4.352 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.269e-05/0.7023, allocations: 18.03 kB / 0.7726 GB, free: 4.34 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.292e-05/0.7023, allocations: 13.7 kB / 0.7726 GB, free: 4.324 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.7023, allocations: 6.094 kB / 0.7726 GB, free: 4.32 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.7023, allocations: 0 / 0.7726 GB, free: 4.32 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.7023, allocations: 0.9375 kB / 0.7726 GB, free: 4.32 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.7024, allocations: 168.8 kB / 0.7727 GB, free: 4.145 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.7024, allocations: 4.969 kB / 0.7727 GB, free: 4.141 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.55e-05/0.7025, allocations: 12.44 kB / 0.7728 GB, free: 4.137 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.7025, allocations: 0 / 0.7728 GB, free: 4.137 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.7025, allocations: 5.875 kB / 0.7728 GB, free: 4.133 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.7025, allocations: 0.9688 kB / 0.7728 GB, free: 4.133 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.7025, allocations: 4.969 kB / 0.7728 GB, free: 4.129 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002537/0.7028, allocations: 187.8 kB / 0.7729 GB, free: 4.016 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.765e-05/0.7028, allocations: 20.25 kB / 0.773 GB, free: 4 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.7028, allocations: 2.109 kB / 0.773 GB, free: 4 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.519e-05/0.7028, allocations: 8.531 kB / 0.773 GB, free: 3.996 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.7029, allocations: 9.5 kB / 0.773 GB, free: 3.992 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.186e-06/0.7029, allocations: 6.75 kB / 0.773 GB, free: 3.988 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 6.431e-05/0.703, allocations: 115 kB / 0.7731 GB, free: 3.906 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 7.1e-08/0.703, allocations: 0 / 0.7731 GB, free: 3.906 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0003269/0.7033, allocations: 73.47 kB / 0.7732 GB, free: 3.891 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.0002311/0.7035, allocations: 159.5 kB / 0.7733 GB, free: 3.789 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.0002775/0.7038, allocations: 158.5 kB / 0.7735 GB, free: 3.699 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.7038, allocations: 0 / 0.7735 GB, free: 3.699 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 7.291e-05/0.7039, allocations: 40.92 kB / 0.7735 GB, free: 3.688 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001667/0.704, allocations: 17.7 kB / 0.7735 GB, free: 3.676 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004246/0.7045, allocations: 222.4 kB / 0.7737 GB, free: 3.512 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/0.7046, allocations: 0.7107 MB / 0.7744 GB, free: 2.809 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 4.459e-05/0.7046, allocations: 7.109 kB / 0.7744 GB, free: 2.805 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.344e-05/0.7047, allocations: 16.02 kB / 0.7745 GB, free: 2.797 MB / 0.5762 GB
Notification: Performance of SimCode: time 3.81e-07/0.7047, allocations: 4 kB / 0.7745 GB, free: 2.793 MB / 0.5762 GB
Notification: Performance of Templates: time 0.007953/0.7126, allocations: 2.571 MB / 0.777 GB, free: 2.555 MB / 0.5762 GB
"
[Timeout remaining time 659]
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.902521865442395]
Failed to read output from testmodel.py, exit status != 0:
0.721126701682806 0.735926388 0.034269824000000004
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f8383fc57b0>