Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.Splice.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.00129/0.00129, allocations: 79.75 kB / 19.18 MB, free: 2.516 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.001433/0.001433, allocations: 160.6 kB / 22.45 MB, free: 5.375 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.461/1.461, allocations: 177.1 MB / 202.8 MB, free: 9.164 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.196/1.196, allocations: 154.6 MB / 413.8 MB, free: 5.234 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.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Splice") translateModel(IDEAS.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Splice") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 0.6186 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.925e-05/3.065e-05, allocations: 6.281 kB / 0.6186 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.002715/0.002745, allocations: 1.502 MB / 0.6201 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.004033, allocations: 0.7049 MB / 0.6207 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.747e-05/0.004091, allocations: 0 / 0.6207 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.676e-05/0.004128, allocations: 3.938 kB / 0.6207 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.302e-05/0.004171, allocations: 3.938 kB / 0.6208 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004181/0.004589, allocations: 99.58 kB / 0.6208 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.00472, allocations: 39.8 kB / 0.6209 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.742e-05/0.004817, allocations: 19.92 kB / 0.6209 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.004935, allocations: 31.91 kB / 0.6209 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.873e-05/0.004984, allocations: 11.98 kB / 0.6209 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.005, allocations: 4 kB / 0.6209 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002237/0.005223, allocations: 103.9 kB / 0.621 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.593e-05/0.005239, allocations: 7.922 kB / 0.6211 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.714e-05/0.005266, allocations: 11.98 kB / 0.6211 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.005484, allocations: 115.6 kB / 0.6212 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.005487, allocations: 0 / 0.6212 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.383e-06/0.005489, allocations: 4 kB / 0.6212 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.005495, allocations: 4 kB / 0.6212 GB, free: 1.871 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004809/0.005976, allocations: 302 kB / 0.6215 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.006012, allocations: 8.031 kB / 0.6215 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/0.006157, allocations: 12.89 kB / 0.6215 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.006361, allocations: 121.7 kB / 0.6216 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.102e-06/0.006367, allocations: 4.375 kB / 0.6216 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.00638, allocations: 384 / 0.6216 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.00654, allocations: 58.23 kB / 0.6217 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.00655, allocations: 192 / 0.6217 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.006559, allocations: 4.375 kB / 0.6217 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.006565, allocations: 3.938 kB / 0.6217 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.979e-05/0.006665, allocations: 27.92 kB / 0.6217 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00033/0.006995, allocations: 220.5 kB / 0.6219 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.919e-05/0.007084, allocations: 30.52 kB / 0.6219 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.592e-05/0.00714, allocations: 24.84 kB / 0.622 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002465/0.007387, allocations: 39.97 kB / 0.622 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.007412, allocations: 30.56 kB / 0.622 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.007413, allocations: 0 / 0.622 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0002569/0.00767, allocations: 65.67 kB / 0.6221 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.007707, allocations: 51.41 kB / 0.6221 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.007817, allocations: 113.8 kB / 0.6223 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.007835, allocations: 25.7 kB / 0.6223 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.781e-05/0.007892, allocations: 96.14 kB / 0.6224 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.341e-05/0.007916, allocations: 11.89 kB / 0.6224 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/0.007949, allocations: 21.78 kB / 0.6224 GB, free: 480 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.008096, allocations: 318.8 kB / 0.6227 GB, free: 152 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.658e-05/0.008143, allocations: 8 kB / 0.6227 GB, free: 144 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.871e-05/0.008181, allocations: 11.98 kB / 0.6227 GB, free: 132 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.627e-05/0.008268, allocations: 24.84 kB / 0.6227 GB, free: 104 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.008269, allocations: 0 / 0.6227 GB, free: 104 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001329/0.008402, allocations: 57.62 kB / 0.6228 GB, free: 40 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.008414, allocations: 8.094 kB / 0.6228 GB, free: 32 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.008419, allocations: 4 kB / 0.6228 GB, free: 28 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.008437, allocations: 0 / 0.6228 GB, free: 28 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.989e-05/0.008506, allocations: 7.984 kB / 0.6228 GB, free: 20 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.00851, allocations: 3.938 kB / 0.6228 GB, free: 16 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.078e-05/0.008541, allocations: 0 / 0.6228 GB, free: 16 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.008551, allocations: 4 kB / 0.6228 GB, free: 12 kB / 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 (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 9.701e-05/0.008648, allocations: 106.8 kB / 0.6229 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.008683, allocations: 11.89 kB / 0.6229 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001779/0.008861, allocations: 69.28 kB / 0.623 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.008862, allocations: 0 / 0.623 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.008865, allocations: 0 / 0.623 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.008867, allocations: 0 / 0.623 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.009009, allocations: 109.3 kB / 0.6231 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.00901, allocations: 0 / 0.6231 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.991e-05/0.00906, allocations: 15.92 kB / 0.6231 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.009061, allocations: 7.938 kB / 0.6231 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.009068, allocations: 0 / 0.6231 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.009069, allocations: 0 / 0.6231 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.009071, allocations: 0 / 0.6231 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/0.009259, allocations: 159.5 kB / 0.6233 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.089e-05/0.00927, allocations: 7.891 kB / 0.6233 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.009284, allocations: 0 / 0.6233 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.491e-05/0.009348, allocations: 4 kB / 0.6233 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.028e-05/0.009379, allocations: 0 / 0.6233 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.009382, allocations: 0 / 0.6233 GB, free: 15.46 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.68e-05/0.009439, allocations: 95.58 kB / 0.6234 GB, free: 15.37 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.009439, allocations: 0 / 0.6234 GB, free: 15.37 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002465/0.009686, allocations: 15.94 kB / 0.6234 GB, free: 15.36 MB / 0.545 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.000185/0.009871, allocations: 115.3 kB / 0.6235 GB, free: 15.23 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001439/0.01001, allocations: 23.92 kB / 0.6235 GB, free: 15.21 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01002, allocations: 0 / 0.6235 GB, free: 15.21 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.034e-05/0.01007, allocations: 11.98 kB / 0.6236 GB, free: 15.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.01029, allocations: 12.55 kB / 0.6236 GB, free: 15.19 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000324/0.01061, allocations: 132.6 kB / 0.6237 GB, free: 15.04 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.716e-05/0.01068, allocations: 71.45 kB / 0.6238 GB, free: 14.95 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.235e-05/0.0107, allocations: 4 kB / 0.6238 GB, free: 14.94 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.356e-05/0.01072, allocations: 8.5 kB / 0.6238 GB, free: 14.93 MB / 0.545 GB Notification: Performance of SimCode: time 4.11e-07/0.01072, allocations: 0 / 0.6238 GB, free: 14.93 MB / 0.545 GB Notification: Performance of Templates: time 0.003128/0.01385, allocations: 0.5247 MB / 0.6243 GB, free: 14.42 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Splice.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Splice.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.692975722253323] Failed to read output from testmodel.py, exit status != 0: 0.022475466132164 0.036717018000000004 0.028203329000000003 Calling exit ...