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.001354/0.001354, allocations: 78.56 kB / 19.18 MB, free: 2.531 MB / 14.72 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.001453/0.001453, allocations: 167.4 kB / 22.46 MB, free: 5.355 MB / 14.72 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 1.421/1.421, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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 1.186/1.186, allocations: 154.6 MB / 413.8 MB, free: 5.23 MB / 382.1 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 178] 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.963e-06/1.963e-06, allocations: 0 / 0.6186 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.125e-05/3.321e-05, allocations: 3 kB / 0.6187 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.002351/0.002384, allocations: 0.5853 MB / 0.6192 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002702/0.005086, allocations: 1.27 MB / 0.6205 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.218e-05/0.005108, allocations: 0 / 0.6205 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.769e-05/0.005126, allocations: 0 / 0.6205 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.013e-06/0.005133, allocations: 3.938 kB / 0.6205 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004719/0.005604, allocations: 79.62 kB / 0.6205 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.774e-05/0.005662, allocations: 3.938 kB / 0.6205 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.426e-05/0.005716, allocations: 11.98 kB / 0.6206 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.835e-05/0.005745, allocations: 0 / 0.6206 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.861e-05/0.005793, allocations: 3.984 kB / 0.6206 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.005805, allocations: 0 / 0.6206 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003927/0.006198, allocations: 103.9 kB / 0.6207 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.658e-06/0.006207, allocations: 0 / 0.6207 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.242e-05/0.00622, allocations: 0 / 0.6207 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002119/0.006432, allocations: 75.78 kB / 0.6207 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.006439, allocations: 8 kB / 0.6207 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.535e-06/0.006442, allocations: 0 / 0.6207 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.006447, allocations: 0 / 0.6207 GB, free: 2.348 MB / 0.5294 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.0003997/0.006847, allocations: 250.3 kB / 0.621 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.006892, allocations: 8.031 kB / 0.621 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.213e-05/0.006924, allocations: 0.9375 kB / 0.621 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.007043, allocations: 109.8 kB / 0.6211 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.007056, allocations: 384 / 0.6211 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.00707, allocations: 384 / 0.6211 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.007195, allocations: 34.2 kB / 0.6211 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.007209, allocations: 4.188 kB / 0.6211 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.007221, allocations: 8.359 kB / 0.6211 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.007228, allocations: 7.875 kB / 0.6211 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.288e-05/0.007251, allocations: 3.984 kB / 0.6211 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001913/0.007442, allocations: 105.2 kB / 0.6213 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.732e-05/0.00751, allocations: 18.58 kB / 0.6213 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.016e-05/0.00753, allocations: 4.859 kB / 0.6213 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004007/0.00793, allocations: 40.06 kB / 0.6213 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.116e-05/0.007972, allocations: 34.56 kB / 0.6213 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.413e-06/0.007973, allocations: 0 / 0.6213 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001686/0.008142, allocations: 41.62 kB / 0.6214 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.666e-05/0.008198, allocations: 59.34 kB / 0.6214 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.219e-05/0.008261, allocations: 89.86 kB / 0.6215 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.008283, allocations: 25.7 kB / 0.6216 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.301e-05/0.008336, allocations: 84.12 kB / 0.6216 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.29e-05/0.008369, allocations: 0 / 0.6216 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.381e-05/0.008413, allocations: 13.72 kB / 0.6216 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001795/0.008592, allocations: 314.8 kB / 0.6219 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.139e-05/0.008603, allocations: 4.125 kB / 0.6219 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.041e-05/0.008614, allocations: 4 kB / 0.622 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.154e-05/0.008655, allocations: 16.72 kB / 0.622 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.008657, allocations: 0 / 0.622 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.01e-05/0.008737, allocations: 33.7 kB / 0.622 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.008754, allocations: 4 kB / 0.622 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.008759, allocations: 0 / 0.622 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.008776, allocations: 0 / 0.622 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.855e-05/0.008824, allocations: 4 kB / 0.622 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.008832, allocations: 8.031 kB / 0.622 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.529e-05/0.008847, allocations: 0 / 0.622 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.008854, allocations: 0 / 0.622 GB, free: 0.8711 MB / 0.5294 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 0.0001208/0.008975, allocations: 114.8 kB / 0.6221 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.138e-05/0.008986, allocations: 4 kB / 0.6221 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001295/0.009116, allocations: 36.64 kB / 0.6222 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.009117, allocations: 0 / 0.6222 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.009122, allocations: 0 / 0.6222 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.707e-06/0.009131, allocations: 3.969 kB / 0.6222 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001217/0.009252, allocations: 105.3 kB / 0.6223 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.009253, allocations: 0 / 0.6223 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.733e-05/0.009271, allocations: 0 / 0.6223 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.82e-06/0.009277, allocations: 4 kB / 0.6223 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.009286, allocations: 0 / 0.6223 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.00929, allocations: 7.938 kB / 0.6223 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.009291, allocations: 0 / 0.6223 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001018/0.009393, allocations: 65.06 kB / 0.6223 GB, free: 488 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.831e-06/0.009398, allocations: 0 / 0.6223 GB, free: 488 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.009411, allocations: 0 / 0.6223 GB, free: 488 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.277e-05/0.009423, allocations: 4.031 kB / 0.6223 GB, free: 484 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.404e-05/0.009447, allocations: 3.938 kB / 0.6223 GB, free: 480 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.00945, allocations: 4 kB / 0.6224 GB, free: 476 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.929e-05/0.009499, allocations: 79.22 kB / 0.6224 GB, free: 396 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.11e-07/0.009499, allocations: 0 / 0.6224 GB, free: 396 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003123/0.009812, allocations: 8 kB / 0.6224 GB, free: 388 kB / 0.5294 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.0002552/0.01007, allocations: 111.2 kB / 0.6225 GB, free: 264 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 8.459e-05/0.01015, allocations: 11.94 kB / 0.6226 GB, free: 252 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01015, allocations: 0 / 0.6226 GB, free: 252 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.827e-06/0.01016, allocations: 4.062 kB / 0.6226 GB, free: 248 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.01037, allocations: 5.719 kB / 0.6226 GB, free: 244 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002604/0.01063, allocations: 80.84 kB / 0.6226 GB, free: 136 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.028e-05/0.0107, allocations: 55.36 kB / 0.6227 GB, free: 60 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.408e-05/0.01072, allocations: 3.938 kB / 0.6227 GB, free: 56 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.153e-05/0.01074, allocations: 8.5 kB / 0.6227 GB, free: 48 kB / 0.5294 GB Notification: Performance of SimCode: time 3.51e-07/0.01074, allocations: 0 / 0.6227 GB, free: 48 kB / 0.5294 GB Notification: Performance of Templates: time 0.003781/0.01452, allocations: 405 kB / 0.6231 GB, free: 15.66 MB / 0.545 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: 5.706974949687719] Failed to read output from testmodel.py, exit status != 0: 0.026501677930355072 0.047630046 0.036810634 Calling exit ...