Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.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.001771/0.001771, allocations: 108.8 kB / 18.93 MB, free: 2.945 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.002087/0.002087, allocations: 192 kB / 22.23 MB, free: 5.16 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: 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.126/1.126, 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.Utilities.IO.Files.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule")
translateModel(IDEAS.Utilities.IO.Files.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 72.2 kB / 0.674 GB, free: 10.83 MB / 0.4981 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.6353/0.6374, allocations: 95.17 MB / 0.7669 GB, free: 7.969 MB / 0.5762 GB
Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.WeeklySchedule): time 0.003089/0.6405, allocations: 1.353 MB / 0.7682 GB, free: 7.367 MB / 0.5762 GB
Notification: Performance of NFInst.instExpressions: time 0.0001681/0.6407, allocations: 44.52 kB / 0.7683 GB, free: 7.336 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.244e-05/0.6407, allocations: 5.156 kB / 0.7683 GB, free: 7.332 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 0.0002038/0.641, allocations: 11.39 kB / 0.7683 GB, free: 7.324 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001404/0.6411, allocations: 18.56 kB / 0.7683 GB, free: 7.312 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 4.388e-06/0.6411, allocations: 0 / 0.7683 GB, free: 7.312 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 7.62e-05/0.6412, allocations: 16.14 kB / 0.7683 GB, free: 7.305 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.431e-05/0.6412, allocations: 6.875 kB / 0.7683 GB, free: 7.305 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 4.395e-05/0.6413, allocations: 7.844 kB / 0.7683 GB, free: 7.301 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.72e-05/0.6413, allocations: 9.531 kB / 0.7684 GB, free: 7.297 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.6414, allocations: 1.656 kB / 0.7684 GB, free: 7.297 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 6.106e-05/0.6414, allocations: 11.14 kB / 0.7684 GB, free: 7.293 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 5.074e-05/0.6415, allocations: 5.953 kB / 0.7684 GB, free: 7.289 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 2.849e-05/0.6415, allocations: 11.11 kB / 0.7684 GB, free: 7.281 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.000123/0.6416, allocations: 20.2 kB / 0.7684 GB, free: 7.273 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.6416, allocations: 2.281 kB / 0.7684 GB, free: 7.273 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.593e-06/0.6416, allocations: 0 / 0.7684 GB, free: 7.273 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 6.442e-06/0.6416, allocations: 0 / 0.7684 GB, free: 7.273 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: 1
 * Number of variables: 1
Notification: Performance of Generate backend data structure: time 0.0004334/0.6421, allocations: 256.1 kB / 0.7686 GB, free: 7.008 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.6421, allocations: 9.953 kB / 0.7687 GB, free: 7.008 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.766e-05/0.6422, allocations: 7.172 kB / 0.7687 GB, free: 7.004 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/0.6423, allocations: 109.3 kB / 0.7688 GB, free: 6.879 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.6424, allocations: 9.547 kB / 0.7688 GB, free: 6.871 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.6424, allocations: 4.312 kB / 0.7688 GB, free: 6.867 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.6425, allocations: 34.92 kB / 0.7688 GB, free: 6.832 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.6425, allocations: 0.8438 kB / 0.7688 GB, free: 6.832 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.6425, allocations: 5.312 kB / 0.7688 GB, free: 6.828 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.335e-05/0.6425, allocations: 0 / 0.7688 GB, free: 6.828 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 2.808e-05/0.6426, allocations: 6.891 kB / 0.7688 GB, free: 6.824 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001747/0.6427, allocations: 124 kB / 0.7689 GB, free: 6.668 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 5.385e-05/0.6428, allocations: 25.84 kB / 0.769 GB, free: 6.637 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 2.281e-05/0.6428, allocations: 6.359 kB / 0.769 GB, free: 6.629 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.6428, allocations: 2.047 kB / 0.769 GB, free: 6.629 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.6429, allocations: 34.5 kB / 0.769 GB, free: 6.586 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.6429, allocations: 0 / 0.769 GB, free: 6.586 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=1): time 0.0001855/0.643, allocations: 43.08 kB / 0.769 GB, free: 6.547 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.6431, allocations: 56.62 kB / 0.7691 GB, free: 6.48 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.6432, allocations: 114.8 kB / 0.7692 GB, free: 6.375 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.6432, allocations: 25.7 kB / 0.7692 GB, free: 6.344 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 3.656e-05/0.6432, allocations: 86.48 kB / 0.7693 GB, free: 6.258 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.6433, allocations: 5.938 kB / 0.7693 GB, free: 6.254 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.542e-05/0.6433, allocations: 12.08 kB / 0.7693 GB, free: 6.238 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 6.17e-05/0.6434, allocations: 313 kB / 0.7696 GB, free: 5.926 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.3e-05/0.6434, allocations: 1.312 kB / 0.7696 GB, free: 5.926 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 1.065e-05/0.6434, allocations: 13.62 kB / 0.7697 GB, free: 5.914 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 2.827e-05/0.6434, allocations: 10.53 kB / 0.7697 GB, free: 5.906 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.6434, allocations: 0 / 0.7697 GB, free: 5.906 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=1) (initialization): time 5.779e-05/0.6435, allocations: 42.91 kB / 0.7697 GB, free: 5.867 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.6435, allocations: 4.594 kB / 0.7697 GB, free: 5.867 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.6435, allocations: 3.938 kB / 0.7697 GB, free: 5.863 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.6435, allocations: 1.922 kB / 0.7697 GB, free: 5.863 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.525e-05/0.6436, allocations: 1.125 kB / 0.7697 GB, free: 5.863 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.6436, allocations: 1.766 kB / 0.7697 GB, free: 5.863 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.377e-05/0.6436, allocations: 4.094 kB / 0.7697 GB, free: 5.859 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.6436, allocations: 1.156 kB / 0.7697 GB, free: 5.859 MB / 0.5762 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (1):
 * Single equations (assignments): 1
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * 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 5.335e-05/0.6437, allocations: 108.3 kB / 0.7698 GB, free: 5.746 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.167e-05/0.6437, allocations: 10.78 kB / 0.7698 GB, free: 5.738 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.077e-05/0.6438, allocations: 43.06 kB / 0.7699 GB, free: 5.695 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.6438, allocations: 0 / 0.7699 GB, free: 5.695 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.6438, allocations: 4.453 kB / 0.7699 GB, free: 5.691 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.6438, allocations: 0 / 0.7699 GB, free: 5.691 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.502e-05/0.6439, allocations: 129.3 kB / 0.77 GB, free: 5.531 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.6439, allocations: 1.094 kB / 0.77 GB, free: 5.531 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.484e-05/0.6439, allocations: 5.844 kB / 0.77 GB, free: 5.527 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.6439, allocations: 1.062 kB / 0.77 GB, free: 5.527 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.6439, allocations: 4.875 kB / 0.77 GB, free: 5.523 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.6439, allocations: 1.156 kB / 0.77 GB, free: 5.523 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.6439, allocations: 0 / 0.77 GB, free: 5.523 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 7.501e-05/0.644, allocations: 67.83 kB / 0.7701 GB, free: 5.449 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 9.128e-06/0.644, allocations: 5.609 kB / 0.7701 GB, free: 5.445 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.644, allocations: 8.719 kB / 0.7701 GB, free: 5.438 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.16e-05/0.644, allocations: 1.688 kB / 0.7701 GB, free: 5.438 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.828e-05/0.644, allocations: 0 / 0.7701 GB, free: 5.438 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.644, allocations: 1.797 kB / 0.7701 GB, free: 5.438 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 4.465e-05/0.6441, allocations: 94.12 kB / 0.7702 GB, free: 5.355 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 8e-08/0.6441, allocations: 1.125 kB / 0.7702 GB, free: 5.355 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0002299/0.6443, allocations: 3.953 kB / 0.7702 GB, free: 5.355 MB / 0.5762 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (1):
 * Single equations (assignments): 1
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * 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.0001992/0.6445, allocations: 112.6 kB / 0.7703 GB, free: 5.258 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 8.558e-05/0.6446, allocations: 5.797 kB / 0.7703 GB, free: 5.258 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.6446, allocations: 0 / 0.7703 GB, free: 5.258 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 9.999e-06/0.6446, allocations: 6.891 kB / 0.7703 GB, free: 5.254 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001464/0.6447, allocations: 1.188 kB / 0.7703 GB, free: 5.254 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002688/0.645, allocations: 120 kB / 0.7704 GB, free: 5.133 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001127/0.6451, allocations: 0.6816 MB / 0.7711 GB, free: 4.434 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 6.736e-05/0.6452, allocations: 5.219 kB / 0.7711 GB, free: 4.434 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.837e-05/0.6452, allocations: 9.031 kB / 0.7711 GB, free: 4.426 MB / 0.5762 GB
Notification: Performance of SimCode: time 3.21e-07/0.6452, allocations: 0 / 0.7711 GB, free: 4.426 MB / 0.5762 GB
Notification: Performance of Templates: time 0.002942/0.6481, allocations: 495.4 kB / 0.7716 GB, free: 4.332 MB / 0.5762 GB
"
[Timeout remaining time 659]
make -j1 -f IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.makefile [Timeout 660]
(rm -f IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.sim & ./IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.Files.WeeklySchedule.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.5322784734889865]
Failed to read output from testmodel.py, exit status != 0:
0.6571857864037156 0.6796324539999999 0.033191983
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f93092f57b0>