Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.001844/0.001844, allocations: 113.9 kB / 18.94 MB, free: 2.785 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.001889/0.001889, allocations: 191.5 kB / 22.23 MB, free: 5.227 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.512/1.512, 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.206/1.206, allocations: 177.9 MB / 484.2 MB, free: 5.469 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.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration")
translateModel(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00228/0.00228, allocations: 65.22 kB / 0.674 GB, free: 10.73 MB / 0.4981 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.7051/0.7074, allocations: 95.16 MB / 0.767 GB, free: 8.027 MB / 0.5762 GB
Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001876/0.7093, allocations: 0.599 MB / 0.7675 GB, free: 7.82 MB / 0.5762 GB
Notification: Performance of NFInst.instExpressions: time 0.0003028/0.7096, allocations: 38.05 kB / 0.7676 GB, free: 7.805 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.499e-05/0.7096, allocations: 0 / 0.7676 GB, free: 7.805 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 3.548e-05/0.7096, allocations: 4 kB / 0.7676 GB, free: 7.801 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 4.322e-05/0.7097, allocations: 1.875 kB / 0.7676 GB, free: 7.801 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.7099, allocations: 11.73 kB / 0.7676 GB, free: 7.801 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 9.623e-05/0.71, allocations: 11.12 kB / 0.7676 GB, free: 7.797 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.345e-05/0.7101, allocations: 2.094 kB / 0.7676 GB, free: 7.797 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 2.527e-05/0.7101, allocations: 1.531 kB / 0.7676 GB, free: 7.797 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.014e-05/0.7101, allocations: 1.859 kB / 0.7676 GB, free: 7.797 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.7102, allocations: 0 / 0.7676 GB, free: 7.797 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 9.699e-05/0.7103, allocations: 20.59 kB / 0.7676 GB, free: 7.797 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 4.01e-05/0.7103, allocations: 10.78 kB / 0.7676 GB, free: 7.789 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 3.135e-05/0.7103, allocations: 13.27 kB / 0.7676 GB, free: 7.781 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001206/0.7104, allocations: 23.12 kB / 0.7677 GB, free: 7.781 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.7105, allocations: 1.125 kB / 0.7677 GB, free: 7.781 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.774e-06/0.7105, allocations: 0 / 0.7677 GB, free: 7.781 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 6.352e-06/0.7105, allocations: 0 / 0.7677 GB, free: 7.781 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: 8
 * Number of variables: 8
Notification: Performance of Generate backend data structure: time 0.0003354/0.7108, allocations: 268.1 kB / 0.7679 GB, free: 7.496 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.7108, allocations: 10.53 kB / 0.7679 GB, free: 7.496 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.034e-05/0.7109, allocations: 6.141 kB / 0.7679 GB, free: 7.492 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 6.99e-05/0.711, allocations: 110.9 kB / 0.768 GB, free: 7.367 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.711, allocations: 13.53 kB / 0.7681 GB, free: 7.355 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.711, allocations: 1.625 kB / 0.7681 GB, free: 7.355 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.7111, allocations: 58.41 kB / 0.7681 GB, free: 7.32 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.7112, allocations: 192 / 0.7681 GB, free: 7.32 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.7112, allocations: 4.5 kB / 0.7681 GB, free: 7.316 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.08e-05/0.7112, allocations: 7.516 kB / 0.7681 GB, free: 7.316 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 6.13e-05/0.7113, allocations: 29.67 kB / 0.7682 GB, free: 7.312 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003194/0.7116, allocations: 231.6 kB / 0.7684 GB, free: 7.078 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 4.588e-05/0.7116, allocations: 25.48 kB / 0.7684 GB, free: 7.051 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 1.743e-05/0.7116, allocations: 11.83 kB / 0.7684 GB, free: 7.039 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 9.147e-06/0.7116, allocations: 0 / 0.7684 GB, free: 7.039 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.708e-05/0.7117, allocations: 32.5 kB / 0.7684 GB, free: 7 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.7117, allocations: 0 / 0.7684 GB, free: 7 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=1): time 0.0001829/0.7118, allocations: 64.08 kB / 0.7685 GB, free: 6.938 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.7119, allocations: 78.94 kB / 0.7686 GB, free: 6.844 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.633e-05/0.712, allocations: 122.3 kB / 0.7687 GB, free: 6.738 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.712, allocations: 26.92 kB / 0.7687 GB, free: 6.707 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 3.709e-05/0.712, allocations: 103.5 kB / 0.7688 GB, free: 6.609 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 8.426e-06/0.712, allocations: 1.734 kB / 0.7688 GB, free: 6.609 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.076e-05/0.7121, allocations: 27.72 kB / 0.7689 GB, free: 6.59 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 5.42e-05/0.7121, allocations: 324.9 kB / 0.7692 GB, free: 6.27 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.746e-05/0.7121, allocations: 8.922 kB / 0.7692 GB, free: 6.27 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 4.581e-05/0.7122, allocations: 60 kB / 0.7692 GB, free: 6.203 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 9.154e-05/0.7123, allocations: 137.4 kB / 0.7694 GB, free: 6.055 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.7123, allocations: 0 / 0.7694 GB, free: 6.055 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001469/0.7124, allocations: 113.2 kB / 0.7695 GB, free: 5.977 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 3.102e-05/0.7125, allocations: 37.22 kB / 0.7695 GB, free: 5.941 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.7125, allocations: 1.062 kB / 0.7695 GB, free: 5.941 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.7125, allocations: 3.25 kB / 0.7695 GB, free: 5.941 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.508e-05/0.7126, allocations: 20.08 kB / 0.7695 GB, free: 5.934 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.7126, allocations: 3.781 kB / 0.7695 GB, free: 5.934 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.277e-05/0.7126, allocations: 20.56 kB / 0.7695 GB, free: 5.918 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.7127, allocations: 4.469 kB / 0.7696 GB, free: 5.918 MB / 0.5762 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 8
 * 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 (8):
 * Single equations (assignments): 7
 * Array equations: 0
 * Algorithm blocks: 1
 * 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.556e-05/0.7127, allocations: 143.6 kB / 0.7697 GB, free: 5.77 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.642e-05/0.7128, allocations: 7.188 kB / 0.7697 GB, free: 5.766 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.621e-05/0.7128, allocations: 9.656 kB / 0.7697 GB, free: 5.754 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.7128, allocations: 7.875 kB / 0.7697 GB, free: 5.746 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.7128, allocations: 0.7031 kB / 0.7697 GB, free: 5.746 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.7128, allocations: 1 kB / 0.7697 GB, free: 5.746 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.7129, allocations: 126 kB / 0.7698 GB, free: 5.59 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.7129, allocations: 0 / 0.7698 GB, free: 5.59 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.92e-07/0.7129, allocations: 0 / 0.7698 GB, free: 5.59 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.7129, allocations: 3.938 kB / 0.7698 GB, free: 5.586 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.7129, allocations: 1.75 kB / 0.7698 GB, free: 5.586 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.7129, allocations: 0.5625 kB / 0.7698 GB, free: 5.586 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.7129, allocations: 6.062 kB / 0.7698 GB, free: 5.582 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 8.807e-05/0.713, allocations: 168.1 kB / 0.77 GB, free: 5.41 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.072e-05/0.713, allocations: 5.359 kB / 0.77 GB, free: 5.406 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.713, allocations: 1.922 kB / 0.77 GB, free: 5.406 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.37e-05/0.7131, allocations: 1.938 kB / 0.77 GB, free: 5.406 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.297e-05/0.7131, allocations: 1.188 kB / 0.77 GB, free: 5.406 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.7131, allocations: 2.203 kB / 0.77 GB, free: 5.406 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 3.718e-05/0.7131, allocations: 97.22 kB / 0.7701 GB, free: 5.32 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 6e-08/0.7131, allocations: 0 / 0.7701 GB, free: 5.32 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0002393/0.7134, allocations: 14.42 kB / 0.7701 GB, free: 5.316 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): 0
 * Array equations: 0
 * Algorithm blocks: 1
 * 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.0001469/0.7135, allocations: 111.4 kB / 0.7702 GB, free: 5.219 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.0001527/0.7137, allocations: 83.36 kB / 0.7703 GB, free: 5.148 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.7137, allocations: 0.5 kB / 0.7703 GB, free: 5.148 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 2.665e-05/0.7137, allocations: 61.05 kB / 0.7704 GB, free: 5.082 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.7139, allocations: 12.38 kB / 0.7704 GB, free: 5.074 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002383/0.7142, allocations: 104.1 kB / 0.7705 GB, free: 4.969 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001286/0.7143, allocations: 0.6801 MB / 0.7711 GB, free: 4.273 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 8.273e-05/0.7144, allocations: 12.08 kB / 0.7712 GB, free: 4.273 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.409e-05/0.7144, allocations: 10 kB / 0.7712 GB, free: 4.266 MB / 0.5762 GB
Notification: Performance of SimCode: time 2.91e-07/0.7144, allocations: 64 / 0.7712 GB, free: 4.266 MB / 0.5762 GB
Notification: Performance of Templates: time 0.003087/0.7175, allocations: 0.5597 MB / 0.7717 GB, free: 4.18 MB / 0.5762 GB
"
[Timeout remaining time 659]
make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 660]
(rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.807625857181847]
Failed to read output from testmodel.py, exit status != 0:
0.7267632437869906 0.739666652 0.025971693
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7feddcbdd7b0>