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.0008862/0.0008862, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009179/0.0009179, allocations: 169 kB / 23.27 MB, free: 1.223 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.9612/0.9612, allocations: 177.2 MB / 203.7 MB, free: 5.52 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-545:108: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-545:116: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.8021/0.8021, allocations: 154.6 MB / 414.8 MB, free: 0.5234 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 2.605e-06/2.605e-06, allocations: 3.984 kB / 0.5208 GB, free: 1.801 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.513e-05/1.773e-05, allocations: 5.375 kB / 0.5208 GB, free: 1.797 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001003/0.001021, allocations: 0.5965 MB / 0.5214 GB, free: 1.219 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001228/0.002249, allocations: 1.317 MB / 0.5227 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.837e-05/0.002267, allocations: 0 / 0.5227 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 1.859e-05/0.002286, allocations: 0 / 0.5227 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.061e-06/0.002292, allocations: 0 / 0.5227 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003154/0.002607, allocations: 72.47 kB / 0.5228 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 3.406e-05/0.002641, allocations: 8.75 kB / 0.5228 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.027e-05/0.002671, allocations: 0 / 0.5228 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 2.374e-05/0.002695, allocations: 6.969 kB / 0.5228 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.753e-05/0.002733, allocations: 0 / 0.5228 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 8.816e-06/0.002741, allocations: 0 / 0.5228 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002133/0.002955, allocations: 107.8 kB / 0.5229 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.506e-06/0.002963, allocations: 4 kB / 0.5229 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.035e-05/0.002974, allocations: 3.938 kB / 0.5229 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.00309, allocations: 71.84 kB / 0.523 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.003092, allocations: 0 / 0.523 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.51e-07/0.003092, allocations: 0.5 kB / 0.523 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.467e-06/0.003096, allocations: 0 / 0.523 GB, free: 15.62 MB / 0.4948 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.0002417/0.003337, allocations: 357 kB / 0.5233 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.003375, allocations: 12.88 kB / 0.5233 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.172e-05/0.003397, allocations: 0.9375 kB / 0.5233 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000344/0.003741, allocations: 104.6 kB / 0.5234 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.00375, allocations: 1.344 kB / 0.5234 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.831e-06/0.003756, allocations: 4.375 kB / 0.5234 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.797e-05/0.003814, allocations: 35.16 kB / 0.5235 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.00382, allocations: 192 / 0.5235 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.709e-06/0.003825, allocations: 384 / 0.5235 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.00383, allocations: 4.5 kB / 0.5235 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.277e-06/0.003839, allocations: 4.5 kB / 0.5235 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.341e-05/0.003913, allocations: 94.3 kB / 0.5236 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 2.762e-05/0.00394, allocations: 27.09 kB / 0.5236 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.167e-06/0.003949, allocations: 7.688 kB / 0.5236 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001851/0.004135, allocations: 45.86 kB / 0.5236 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.004155, allocations: 38.88 kB / 0.5237 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.004156, allocations: 3.938 kB / 0.5237 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 8.101e-05/0.004237, allocations: 29.7 kB / 0.5237 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/0.004261, allocations: 56.25 kB / 0.5238 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.221e-05/0.004293, allocations: 142.2 kB / 0.5239 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.073e-06/0.004301, allocations: 25.7 kB / 0.5239 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.444e-05/0.004325, allocations: 127.9 kB / 0.524 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.237e-05/0.004347, allocations: 3.938 kB / 0.524 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.025e-05/0.004368, allocations: 23.38 kB / 0.5241 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.004468, allocations: 497.1 kB / 0.5245 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.201e-06/0.004474, allocations: 3.984 kB / 0.5245 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.08e-06/0.004479, allocations: 0.9375 kB / 0.5245 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.188e-05/0.004501, allocations: 19.61 kB / 0.5246 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.004503, allocations: 0.5625 kB / 0.5246 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.2e-05/0.004535, allocations: 30.42 kB / 0.5246 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.004545, allocations: 8.75 kB / 0.5246 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.004549, allocations: 0 / 0.5246 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.004559, allocations: 1.469 kB / 0.5246 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.815e-05/0.004587, allocations: 0 / 0.5246 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.004592, allocations: 11.98 kB / 0.5246 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.634e-06/0.004599, allocations: 3.938 kB / 0.5246 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.067e-06/0.004603, allocations: 0.5625 kB / 0.5246 GB, free: 13.76 MB / 0.4948 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 4.862e-05/0.004652, allocations: 157.8 kB / 0.5248 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-06/0.004655, allocations: 352 / 0.5248 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.745e-05/0.004712, allocations: 50.98 kB / 0.5248 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.22e-07/0.004713, allocations: 0 / 0.5248 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-06/0.004714, allocations: 0 / 0.5248 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.004716, allocations: 0 / 0.5248 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.685e-05/0.004763, allocations: 101.1 kB / 0.5249 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.004764, allocations: 4 kB / 0.5249 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.308e-06/0.004769, allocations: 0 / 0.5249 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-07/0.004769, allocations: 2.469 kB / 0.5249 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.605e-06/0.004772, allocations: 0 / 0.5249 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.11e-07/0.004772, allocations: 0 / 0.5249 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.004773, allocations: 0 / 0.5249 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.354e-05/0.004816, allocations: 76.31 kB / 0.525 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.248e-06/0.004821, allocations: 4 kB / 0.525 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.89e-06/0.004826, allocations: 0.625 kB / 0.525 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.709e-06/0.00483, allocations: 4 kB / 0.525 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.416e-06/0.004839, allocations: 1.031 kB / 0.525 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.00484, allocations: 0 / 0.525 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.28e-05/0.004863, allocations: 119.2 kB / 0.5251 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.004863, allocations: 2.031 kB / 0.5251 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001174/0.004981, allocations: 15.88 kB / 0.5251 GB, free: 13.18 MB / 0.4948 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 9.812e-05/0.005079, allocations: 111.2 kB / 0.5252 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 4.593e-05/0.005125, allocations: 12.34 kB / 0.5252 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.005126, allocations: 0.5625 kB / 0.5252 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.743e-06/0.005133, allocations: 12.47 kB / 0.5253 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.72e-05/0.00522, allocations: 3.938 kB / 0.5253 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001344/0.005354, allocations: 100.5 kB / 0.5254 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.537e-05/0.00538, allocations: 51.36 kB / 0.5254 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.302e-05/0.005393, allocations: 3.438 kB / 0.5254 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.85e-05/0.005421, allocations: 66.2 kB / 0.5255 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of SimCode: time 6.21e-07/0.005422, allocations: 4 kB / 0.5255 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of Templates: time 0.001614/0.007036, allocations: 461.7 kB / 0.5259 GB, free: 12.33 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6312615163624287]