Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006799/0.0006799, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006987/0.0006987, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8818/0.8818, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7188/0.7188, allocations: 154.6 MB / 414.5 MB, free: 0.7969 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.6194 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.402e-05/3.579e-05, allocations: 4.797 kB / 0.6194 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001657/0.001693, allocations: 0.5941 MB / 0.62 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001767/0.003459, allocations: 1.279 MB / 0.6212 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.457e-05/0.003484, allocations: 0 / 0.6212 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.818e-05/0.003502, allocations: 0 / 0.6212 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.725e-06/0.00351, allocations: 0 / 0.6212 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004175/0.003927, allocations: 75.61 kB / 0.6213 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.363e-05/0.003981, allocations: 3.984 kB / 0.6213 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.874e-05/0.00403, allocations: 4 kB / 0.6213 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.307e-05/0.004063, allocations: 4 kB / 0.6213 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.891e-05/0.004112, allocations: 3.938 kB / 0.6213 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.004125, allocations: 0 / 0.6213 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004356/0.004561, allocations: 107.9 kB / 0.6214 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.096e-05/0.004572, allocations: 0 / 0.6214 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.892e-05/0.004591, allocations: 3.938 kB / 0.6214 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.004758, allocations: 71.84 kB / 0.6215 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.00476, allocations: 0 / 0.6215 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.934e-06/0.004762, allocations: 3.938 kB / 0.6215 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.004767, allocations: 4 kB / 0.6215 GB, free: 10.9 MB / 0.5886 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.0003248/0.005092, allocations: 258.3 kB / 0.6217 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.005137, allocations: 12.03 kB / 0.6217 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.848e-05/0.005176, allocations: 0.9375 kB / 0.6217 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003632/0.005539, allocations: 101.8 kB / 0.6218 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.005552, allocations: 384 / 0.6218 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.208e-06/0.005561, allocations: 384 / 0.6218 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.005663, allocations: 34.25 kB / 0.6219 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.005671, allocations: 192 / 0.6219 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.005682, allocations: 384 / 0.6219 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.005689, allocations: 7.938 kB / 0.6219 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.205e-05/0.005711, allocations: 4 kB / 0.6219 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000117/0.005828, allocations: 97.27 kB / 0.622 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.639e-05/0.005874, allocations: 26.55 kB / 0.622 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.572e-05/0.00589, allocations: 4.859 kB / 0.622 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003174/0.006207, allocations: 44.02 kB / 0.6221 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.006233, allocations: 34.56 kB / 0.6221 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.262e-06/0.006235, allocations: 0 / 0.6221 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001821/0.006417, allocations: 37.64 kB / 0.6221 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.006453, allocations: 55.34 kB / 0.6222 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.762e-05/0.006481, allocations: 89.86 kB / 0.6223 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.006491, allocations: 25.7 kB / 0.6223 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.869e-05/0.00651, allocations: 92.08 kB / 0.6224 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.006538, allocations: 0 / 0.6224 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.305e-05/0.006561, allocations: 9.719 kB / 0.6224 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.396e-05/0.006635, allocations: 314.8 kB / 0.6227 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.638e-06/0.006645, allocations: 4 kB / 0.6227 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.073e-06/0.006652, allocations: 4.125 kB / 0.6227 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.324e-05/0.006675, allocations: 8.859 kB / 0.6227 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.006677, allocations: 0 / 0.6227 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.385e-05/0.006721, allocations: 37.64 kB / 0.6227 GB, free: 9.453 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.006735, allocations: 8 kB / 0.6227 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.00674, allocations: 0 / 0.6227 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.006752, allocations: 0 / 0.6227 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.209e-05/0.006804, allocations: 3.938 kB / 0.6227 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.006811, allocations: 7.922 kB / 0.6228 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.936e-06/0.00682, allocations: 4 kB / 0.6228 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.006825, allocations: 4.094 kB / 0.6228 GB, free: 9.426 MB / 0.5886 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.366e-05/0.006879, allocations: 106.8 kB / 0.6229 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-06/0.006881, allocations: 0 / 0.6229 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.415e-05/0.006966, allocations: 44.66 kB / 0.6229 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.006969, allocations: 7.969 kB / 0.6229 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.006973, allocations: 0 / 0.6229 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.006976, allocations: 3.938 kB / 0.6229 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.288e-05/0.007029, allocations: 97.33 kB / 0.623 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.00703, allocations: 4.031 kB / 0.623 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.097e-06/0.007039, allocations: 4 kB / 0.623 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.00704, allocations: 0 / 0.623 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.007046, allocations: 3.938 kB / 0.623 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.007047, allocations: 0 / 0.623 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.007048, allocations: 0 / 0.623 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.748e-05/0.007096, allocations: 61.06 kB / 0.6231 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.817e-06/0.007099, allocations: 0 / 0.6231 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.846e-06/0.007108, allocations: 8 kB / 0.6231 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.797e-06/0.007112, allocations: 0 / 0.6231 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.248e-05/0.007125, allocations: 0 / 0.6231 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-06/0.007126, allocations: 4.031 kB / 0.6231 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.186e-05/0.007148, allocations: 83.25 kB / 0.6232 GB, free: 8.941 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.007148, allocations: 3.938 kB / 0.6232 GB, free: 8.938 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001375/0.007285, allocations: 11.98 kB / 0.6232 GB, free: 8.926 MB / 0.5886 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.0001314/0.007417, allocations: 107.2 kB / 0.6233 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 6.24e-05/0.007479, allocations: 11.92 kB / 0.6233 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.007481, allocations: 0 / 0.6233 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.408e-06/0.007485, allocations: 4 kB / 0.6233 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.536e-05/0.00758, allocations: 4.125 kB / 0.6233 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001877/0.007768, allocations: 102.7 kB / 0.6234 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.342e-05/0.007802, allocations: 51.36 kB / 0.6235 GB, free: 8.59 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.47e-05/0.007816, allocations: 12.5 kB / 0.6235 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of SimCode: time 6.82e-07/0.007817, allocations: 0 / 0.6235 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of Templates: time 0.001914/0.009731, allocations: 0.5113 MB / 0.624 GB, free: 8.066 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.961798440665007] Failed to read output from testmodel.py, exit status != 0: 0.016212202608585358 0.024364515 0.017935769 Calling exit ...