Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.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.001351/0.001351, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.001591/0.001591, allocations: 189.5 kB / 22.23 MB, free: 5.137 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.718/1.718, allocations: 225.6 MB / 251 MB, free: 13.05 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.229/1.229, allocations: 177.9 MB / 484.2 MB, free: 5.406 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.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 75.81 kB / 0.674 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.651/0.6529, allocations: 95.16 MB / 0.767 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001732/0.6546, allocations: 0.5888 MB / 0.7675 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001452/0.6561, allocations: 1.266 MB / 0.7688 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.772e-05/0.6561, allocations: 0 / 0.7688 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.61e-05/0.6561, allocations: 0 / 0.7688 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.841e-06/0.6561, allocations: 5.344 kB / 0.7688 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003562/0.6565, allocations: 63.72 kB / 0.7688 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.207e-05/0.6565, allocations: 1.375 kB / 0.7688 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.305e-05/0.6565, allocations: 6.609 kB / 0.7688 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.092e-05/0.6566, allocations: 1.094 kB / 0.7688 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.537e-05/0.6566, allocations: 1.344 kB / 0.7688 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.093e-06/0.6566, allocations: 4 kB / 0.7689 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002377/0.6568, allocations: 104 kB / 0.769 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.014e-05/0.6568, allocations: 1.25 kB / 0.769 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.588e-05/0.6569, allocations: 0 / 0.769 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.657, allocations: 54.64 kB / 0.769 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.657, allocations: 0 / 0.769 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.112e-06/0.657, allocations: 0 / 0.769 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.657, allocations: 0 / 0.769 GB, free: 6.926 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.0002673/0.6573, allocations: 250.1 kB / 0.7692 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.6573, allocations: 13.5 kB / 0.7693 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.585e-05/0.6573, allocations: 0.9375 kB / 0.7693 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.241e-05/0.6574, allocations: 105.6 kB / 0.7694 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.6574, allocations: 4.312 kB / 0.7694 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.6574, allocations: 1.719 kB / 0.7694 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.671e-05/0.6575, allocations: 33.2 kB / 0.7694 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.6575, allocations: 0 / 0.7694 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-06/0.6575, allocations: 0 / 0.7694 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.6575, allocations: 1.531 kB / 0.7694 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.938e-05/0.6575, allocations: 5.5 kB / 0.7694 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.125e-05/0.6576, allocations: 124.4 kB / 0.7695 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 3.562e-05/0.6577, allocations: 16.08 kB / 0.7695 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.357e-05/0.6577, allocations: 7.078 kB / 0.7695 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003259/0.658, allocations: 36.62 kB / 0.7696 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.658, allocations: 39.97 kB / 0.7696 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.658, allocations: 0 / 0.7696 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.00012/0.6581, allocations: 45.03 kB / 0.7697 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.592e-05/0.6582, allocations: 51.41 kB / 0.7697 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.647e-05/0.6582, allocations: 95.14 kB / 0.7698 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.64e-06/0.6582, allocations: 25.7 kB / 0.7698 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.348e-06/0.6582, allocations: 80.14 kB / 0.7699 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.6582, allocations: 10.03 kB / 0.7699 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.391e-05/0.6582, allocations: 16.06 kB / 0.7699 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.151e-05/0.6583, allocations: 312 kB / 0.7702 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.307e-06/0.6583, allocations: 1.094 kB / 0.7702 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.701e-06/0.6583, allocations: 1.094 kB / 0.7702 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.944e-05/0.6583, allocations: 12.81 kB / 0.7702 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.6583, allocations: 0 / 0.7702 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.532e-05/0.6584, allocations: 41.25 kB / 0.7703 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.6584, allocations: 13.16 kB / 0.7703 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.6584, allocations: 1.031 kB / 0.7703 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.6584, allocations: 0 / 0.7703 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.309e-05/0.6584, allocations: 5.734 kB / 0.7703 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.6584, allocations: 0 / 0.7703 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.288e-05/0.6585, allocations: 0.9062 kB / 0.7703 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-06/0.6585, allocations: 0 / 0.7703 GB, free: 5.535 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 3.87e-05/0.6585, allocations: 107.7 kB / 0.7704 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.664e-06/0.6585, allocations: 5.125 kB / 0.7704 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.08e-05/0.6586, allocations: 46.8 kB / 0.7704 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.6586, allocations: 3.938 kB / 0.7705 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.6586, allocations: 1 kB / 0.7705 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-06/0.6586, allocations: 0 / 0.7705 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.91e-05/0.6586, allocations: 118.6 kB / 0.7706 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.6586, allocations: 0 / 0.7706 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.474e-05/0.6587, allocations: 2.094 kB / 0.7706 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.6587, allocations: 3.938 kB / 0.7706 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.6587, allocations: 0.9062 kB / 0.7706 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.6587, allocations: 4.031 kB / 0.7706 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.6587, allocations: 1.031 kB / 0.7706 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.263e-05/0.6587, allocations: 56.83 kB / 0.7706 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.42e-06/0.6587, allocations: 1.984 kB / 0.7706 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.6587, allocations: 4.594 kB / 0.7706 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.177e-06/0.6588, allocations: 1.688 kB / 0.7706 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.683e-05/0.6588, allocations: 0.6094 kB / 0.7706 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.6588, allocations: 9.344 kB / 0.7706 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 1.31e-05/0.6588, allocations: 76.41 kB / 0.7707 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.6588, allocations: 0 / 0.7707 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001978/0.659, allocations: 5.438 kB / 0.7707 GB, free: 5.055 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.0001288/0.6591, allocations: 108.1 kB / 0.7708 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 8.012e-05/0.6592, allocations: 8.219 kB / 0.7708 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.6592, allocations: 0 / 0.7708 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.055e-06/0.6592, allocations: 6.188 kB / 0.7708 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.6593, allocations: 2.094 kB / 0.7708 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001578/0.6595, allocations: 85.11 kB / 0.7709 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.785e-05/0.6596, allocations: 0.67 MB / 0.7716 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.927e-05/0.6596, allocations: 2.641 kB / 0.7716 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.331e-05/0.6596, allocations: 8.562 kB / 0.7716 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.6596, allocations: 3.938 kB / 0.7716 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of Templates: time 0.00293/0.6625, allocations: 306.8 kB / 0.7719 GB, free: 4.074 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.044127573259175] Failed to read output from testmodel.py, exit status != 0: 0.6714803958311677 0.6845224329999999 0.024593699 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f2a57f4d7b0>