Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.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.001313/0.001313, allocations: 109 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.00213/0.00213, allocations: 192.5 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.462/1.462, allocations: 225.6 MB / 251 MB, free: 13.02 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.094/1.094, allocations: 177.9 MB / 484.2 MB, free: 5.395 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.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Average")
translateModel(IDEAS.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Average") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 63.11 kB / 0.674 GB, free: 10.79 MB / 0.4981 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.6879/0.69, allocations: 95.17 MB / 0.7669 GB, free: 7.953 MB / 0.5762 GB
Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Average): time 0.002842/0.6928, allocations: 1.551 MB / 0.7684 GB, free: 7.203 MB / 0.5762 GB
Notification: Performance of NFInst.instExpressions: time 0.0003914/0.6932, allocations: 109.9 kB / 0.7685 GB, free: 7.133 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.024e-05/0.6933, allocations: 1.156 kB / 0.7685 GB, free: 7.133 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001455/0.6934, allocations: 22.16 kB / 0.7686 GB, free: 7.113 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 2.581e-05/0.6935, allocations: 9.688 kB / 0.7686 GB, free: 7.105 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002867/0.6938, allocations: 25.48 kB / 0.7686 GB, free: 7.098 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 0.0001226/0.6939, allocations: 55.12 kB / 0.7687 GB, free: 7.074 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.694, allocations: 18.66 kB / 0.7687 GB, free: 7.07 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 6.341e-05/0.6941, allocations: 22.62 kB / 0.7687 GB, free: 7.062 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 7.768e-05/0.6942, allocations: 36.3 kB / 0.7687 GB, free: 7.043 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.6942, allocations: 5.031 kB / 0.7687 GB, free: 7.043 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 7.001e-05/0.6942, allocations: 14.62 kB / 0.7687 GB, free: 7.039 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 5.332e-05/0.6943, allocations: 19.42 kB / 0.7688 GB, free: 7.027 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 4.138e-05/0.6943, allocations: 27.47 kB / 0.7688 GB, free: 7.008 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.6945, allocations: 60.48 kB / 0.7688 GB, free: 6.984 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.6945, allocations: 9.938 kB / 0.7689 GB, free: 6.977 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.472e-06/0.6945, allocations: 0 / 0.7689 GB, free: 6.977 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 6.572e-06/0.6945, allocations: 0 / 0.7689 GB, free: 6.977 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: 9
 * Number of variables: 9
Notification: Performance of Generate backend data structure: time 0.0005531/0.6951, allocations: 301.1 kB / 0.7691 GB, free: 6.695 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.6951, allocations: 10.22 kB / 0.7692 GB, free: 6.695 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.87e-05/0.6951, allocations: 9.641 kB / 0.7692 GB, free: 6.691 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.6953, allocations: 126 kB / 0.7693 GB, free: 6.555 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.6953, allocations: 1.75 kB / 0.7693 GB, free: 6.555 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.6953, allocations: 2.875 kB / 0.7693 GB, free: 6.555 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000295/0.6956, allocations: 93.91 kB / 0.7694 GB, free: 6.504 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.6956, allocations: 1.594 kB / 0.7694 GB, free: 6.504 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.6956, allocations: 3.938 kB / 0.7694 GB, free: 6.5 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.6956, allocations: 1.438 kB / 0.7694 GB, free: 6.5 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003303/0.696, allocations: 83.38 kB / 0.7695 GB, free: 6.484 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005133/0.6965, allocations: 294.3 kB / 0.7697 GB, free: 6.227 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.6967, allocations: 59.88 kB / 0.7698 GB, free: 6.191 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001652/0.6969, allocations: 43.41 kB / 0.7698 GB, free: 6.176 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 4.12e-05/0.6969, allocations: 1.062 kB / 0.7698 GB, free: 6.176 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.6969, allocations: 37.5 kB / 0.7699 GB, free: 6.133 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.6969, allocations: 1.125 kB / 0.7699 GB, free: 6.133 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=3): time 0.000625/0.6975, allocations: 141.9 kB / 0.77 GB, free: 6.078 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.6976, allocations: 51.41 kB / 0.7701 GB, free: 6.016 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.761e-05/0.6977, allocations: 120.4 kB / 0.7702 GB, free: 5.91 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.6977, allocations: 25.7 kB / 0.7702 GB, free: 5.879 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 3.404e-05/0.6977, allocations: 94.62 kB / 0.7703 GB, free: 5.785 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.6977, allocations: 9.328 kB / 0.7703 GB, free: 5.777 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.64e-05/0.6978, allocations: 21.14 kB / 0.7703 GB, free: 5.758 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 4.882e-05/0.6978, allocations: 320.5 kB / 0.7706 GB, free: 5.438 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.698, allocations: 31.44 kB / 0.7707 GB, free: 5.434 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.6981, allocations: 35.67 kB / 0.7707 GB, free: 5.43 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002953/0.6984, allocations: 71.59 kB / 0.7708 GB, free: 5.41 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.6984, allocations: 1.344 kB / 0.7708 GB, free: 5.41 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.000346/0.6988, allocations: 108.2 kB / 0.7709 GB, free: 5.363 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.6988, allocations: 4.531 kB / 0.7709 GB, free: 5.363 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.6988, allocations: 4 kB / 0.7709 GB, free: 5.359 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.6988, allocations: 0.7812 kB / 0.7709 GB, free: 5.359 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.6989, allocations: 20.36 kB / 0.7709 GB, free: 5.355 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.699, allocations: 3.984 kB / 0.7709 GB, free: 5.352 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.502e-05/0.699, allocations: 15.61 kB / 0.7709 GB, free: 5.348 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.6991, allocations: 0.75 kB / 0.7709 GB, free: 5.348 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 (3):
 * Single equations (assignments): 3
 * 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 6.57e-05/0.6991, allocations: 115.9 kB / 0.771 GB, free: 5.23 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.953e-05/0.6992, allocations: 15.98 kB / 0.771 GB, free: 5.219 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003917/0.6995, allocations: 117.2 kB / 0.7712 GB, free: 5.156 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.6995, allocations: 1 kB / 0.7712 GB, free: 5.156 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.6996, allocations: 1.062 kB / 0.7712 GB, free: 5.156 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.6996, allocations: 0 / 0.7712 GB, free: 5.156 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.6997, allocations: 157.7 kB / 0.7713 GB, free: 4.984 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.6997, allocations: 0 / 0.7713 GB, free: 4.984 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.6998, allocations: 19.22 kB / 0.7713 GB, free: 4.98 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.6998, allocations: 4.141 kB / 0.7713 GB, free: 4.98 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.6998, allocations: 0.8125 kB / 0.7713 GB, free: 4.98 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.6998, allocations: 0 / 0.7713 GB, free: 4.98 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.6998, allocations: 0.625 kB / 0.7713 GB, free: 4.98 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003764/0.7002, allocations: 202.2 kB / 0.7715 GB, free: 4.832 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.322e-05/0.7002, allocations: 10.97 kB / 0.7715 GB, free: 4.824 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.7002, allocations: 0 / 0.7715 GB, free: 4.824 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.7003, allocations: 21.14 kB / 0.7716 GB, free: 4.816 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.211e-05/0.7004, allocations: 2.891 kB / 0.7716 GB, free: 4.816 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.7004, allocations: 0.875 kB / 0.7716 GB, free: 4.816 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 3.974e-05/0.7004, allocations: 91.84 kB / 0.7716 GB, free: 4.738 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 7e-08/0.7004, allocations: 0 / 0.7716 GB, free: 4.738 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0002398/0.7007, allocations: 16.94 kB / 0.7717 GB, free: 4.73 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 (3):
 * Single equations (assignments): 3
 * 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.0001491/0.7008, allocations: 105.3 kB / 0.7718 GB, free: 4.637 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.0004024/0.7012, allocations: 75.78 kB / 0.7718 GB, free: 4.625 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.7012, allocations: 0 / 0.7718 GB, free: 4.625 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001726/0.7014, allocations: 44.48 kB / 0.7719 GB, free: 4.613 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.7017, allocations: 11.33 kB / 0.7719 GB, free: 4.609 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003595/0.7021, allocations: 142.1 kB / 0.772 GB, free: 4.484 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001321/0.7022, allocations: 0.6933 MB / 0.7727 GB, free: 3.785 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 4.519e-05/0.7023, allocations: 6.266 kB / 0.7727 GB, free: 3.785 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.909e-05/0.7023, allocations: 13.75 kB / 0.7727 GB, free: 3.773 MB / 0.5762 GB
Notification: Performance of SimCode: time 3.1e-07/0.7023, allocations: 0 / 0.7727 GB, free: 3.773 MB / 0.5762 GB
Notification: Performance of Templates: time 0.003718/0.706, allocations: 0.7787 MB / 0.7735 GB, free: 3.691 MB / 0.5762 GB
"
[Timeout remaining time 659]
make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.makefile [Timeout 660]
(rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Average  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.715322480536997]
Failed to read output from testmodel.py, exit status != 0:
0.7144483020529151 0.729334857 0.031325713000000005
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fe1babb17b0>