Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.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.001484/0.001484, allocations: 110 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.001952/0.001952, allocations: 191.7 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.599/1.599, 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.206/1.206, allocations: 177.9 MB / 484.2 MB, free: 5.371 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.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice") translateModel(IDEAS.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 70.36 kB / 0.674 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.703/0.7051, allocations: 95.17 MB / 0.7669 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.002889/0.7079, allocations: 1.513 MB / 0.7684 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001144/0.7091, allocations: 0.6624 MB / 0.769 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.434e-05/0.7091, allocations: 1.5 kB / 0.769 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.609e-05/0.7092, allocations: 8.5 kB / 0.7691 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.034e-05/0.7092, allocations: 4.5 kB / 0.7691 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003856/0.7096, allocations: 82.8 kB / 0.7691 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.102e-05/0.7097, allocations: 38.89 kB / 0.7692 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.7098, allocations: 11.09 kB / 0.7692 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.106e-05/0.7099, allocations: 16.72 kB / 0.7692 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.32e-05/0.7099, allocations: 20.52 kB / 0.7692 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.71, allocations: 7.125 kB / 0.7692 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002034/0.7102, allocations: 100.4 kB / 0.7693 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.542e-05/0.7102, allocations: 13.11 kB / 0.7693 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.065e-05/0.7102, allocations: 16.09 kB / 0.7694 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.7104, allocations: 86.39 kB / 0.7694 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.7104, allocations: 2.438 kB / 0.7694 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7104, allocations: 1.062 kB / 0.7694 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.7104, allocations: 3.938 kB / 0.7694 GB, free: 6.621 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004086/0.7108, allocations: 286.8 kB / 0.7697 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.7109, allocations: 9.562 kB / 0.7697 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.501e-05/0.7109, allocations: 5.734 kB / 0.7697 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9e-05/0.711, allocations: 114.7 kB / 0.7698 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.711, allocations: 1.75 kB / 0.7698 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.711, allocations: 1.75 kB / 0.7698 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.7112, allocations: 56.67 kB / 0.7699 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.7112, allocations: 3.984 kB / 0.7699 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.7112, allocations: 1.406 kB / 0.7699 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.7112, allocations: 1.344 kB / 0.7699 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.966e-05/0.7113, allocations: 31.48 kB / 0.7699 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003208/0.7116, allocations: 260.1 kB / 0.7702 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.845e-05/0.7117, allocations: 27.61 kB / 0.7702 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.754e-05/0.7118, allocations: 17.39 kB / 0.7702 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002596/0.712, allocations: 41.31 kB / 0.7703 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.7121, allocations: 39.62 kB / 0.7703 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.7121, allocations: 0 / 0.7703 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.000255/0.7123, allocations: 67.88 kB / 0.7704 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.098e-05/0.7123, allocations: 51.41 kB / 0.7704 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.739e-05/0.7124, allocations: 127.4 kB / 0.7705 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.388e-06/0.7124, allocations: 26.8 kB / 0.7706 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.963e-05/0.7125, allocations: 90.3 kB / 0.7707 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.7125, allocations: 14.38 kB / 0.7707 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/0.7125, allocations: 12.84 kB / 0.7707 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.378e-05/0.7126, allocations: 322.6 kB / 0.771 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.421e-05/0.7126, allocations: 7.891 kB / 0.771 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.329e-05/0.7126, allocations: 7.438 kB / 0.771 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.699e-05/0.7127, allocations: 33.7 kB / 0.771 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.7127, allocations: 4 kB / 0.771 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001073/0.7128, allocations: 56.17 kB / 0.7711 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.7128, allocations: 9 kB / 0.7711 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.7129, allocations: 0 / 0.7711 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.7129, allocations: 0 / 0.7711 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.971e-05/0.7129, allocations: 6.578 kB / 0.7711 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.7129, allocations: 3.938 kB / 0.7711 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.359e-05/0.713, allocations: 3.594 kB / 0.7711 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.713, allocations: 2.922 kB / 0.7711 GB, free: 5.035 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 (2): * Single equations (assignments): 2 * 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.054e-05/0.713, allocations: 119.3 kB / 0.7712 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.7131, allocations: 2.906 kB / 0.7712 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001555/0.7132, allocations: 61.25 kB / 0.7713 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.7132, allocations: 0.875 kB / 0.7713 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.7132, allocations: 1.031 kB / 0.7713 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.7132, allocations: 0 / 0.7713 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.7133, allocations: 145.6 kB / 0.7714 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.7133, allocations: 4.031 kB / 0.7714 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.127e-05/0.7134, allocations: 5.844 kB / 0.7714 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.7134, allocations: 5.5 kB / 0.7714 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.7134, allocations: 0 / 0.7714 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.7134, allocations: 3.578 kB / 0.7714 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.7134, allocations: 0 / 0.7714 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001348/0.7135, allocations: 154.8 kB / 0.7716 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.134e-05/0.7136, allocations: 10.23 kB / 0.7716 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.7136, allocations: 3.094 kB / 0.7716 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.243e-05/0.7136, allocations: 0.875 kB / 0.7716 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.401e-05/0.7137, allocations: 3.031 kB / 0.7716 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-06/0.7137, allocations: 1.094 kB / 0.7716 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.975e-05/0.7137, allocations: 102.5 kB / 0.7717 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.7137, allocations: 0 / 0.7717 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002201/0.7139, allocations: 17.38 kB / 0.7717 GB, free: 4.441 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 (2): * Single equations (assignments): 2 * 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.0001307/0.7141, allocations: 101.6 kB / 0.7718 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001455/0.7142, allocations: 23.52 kB / 0.7718 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.7142, allocations: 0 / 0.7718 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 4.822e-05/0.7143, allocations: 17.89 kB / 0.7719 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.7145, allocations: 1.156 kB / 0.7719 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002963/0.7148, allocations: 135.8 kB / 0.772 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001173/0.7149, allocations: 0.6828 MB / 0.7727 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.395e-05/0.7149, allocations: 3.984 kB / 0.7727 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.941e-05/0.7149, allocations: 9.812 kB / 0.7727 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.7149, allocations: 0 / 0.7727 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of Templates: time 0.003125/0.718, allocations: 0.5074 MB / 0.7732 GB, free: 3.426 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.828703564591706] Failed to read output from testmodel.py, exit status != 0: 0.7260881569236517 0.73921276 0.025536507 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f10fd4a97b0>