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.001819/0.001819, allocations: 93.47 kB / 19.44 MB, free: 340 kB / 13.93 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.00197/0.00197, allocations: 173.6 kB / 22.76 MB, free: 1.66 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 1.555/1.555, allocations: 177.1 MB / 203.1 MB, free: 5.641 MB / 186.7 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-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 1.32/1.32, allocations: 154.6 MB / 414.1 MB, free: 0.6562 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 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.543e-06/1.543e-06, allocations: 0 / 0.5196 GB, free: 2.527 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.672e-05/2.826e-05, allocations: 4.828 kB / 0.5196 GB, free: 2.523 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.003161/0.003189, allocations: 1.52 MB / 0.5211 GB, free: 1.016 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001615/0.004804, allocations: 0.7106 MB / 0.5218 GB, free: 308 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.012e-05/0.004874, allocations: 1.656 kB / 0.5218 GB, free: 308 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.137e-05/0.004906, allocations: 3.938 kB / 0.5218 GB, free: 304 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.672e-05/0.004973, allocations: 3.938 kB / 0.5218 GB, free: 300 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005418/0.005514, allocations: 113.1 kB / 0.5219 GB, free: 188 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001257/0.00564, allocations: 35.86 kB / 0.522 GB, free: 152 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.641e-05/0.005736, allocations: 15.97 kB / 0.522 GB, free: 136 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001472/0.005884, allocations: 28.67 kB / 0.522 GB, free: 108 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.572e-05/0.005939, allocations: 7.984 kB / 0.522 GB, free: 100 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.005957, allocations: 5.219 kB / 0.522 GB, free: 96 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002748/0.006232, allocations: 107.9 kB / 0.5221 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.843e-05/0.006251, allocations: 11.86 kB / 0.5221 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.637e-05/0.006277, allocations: 9.25 kB / 0.5221 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002798/0.006557, allocations: 119.6 kB / 0.5222 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.006561, allocations: 0 / 0.5222 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.092e-06/0.006562, allocations: 0 / 0.5222 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.006566, allocations: 10.22 kB / 0.5223 GB, free: 15.84 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005515/0.007118, allocations: 392 kB / 0.5226 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.00716, allocations: 8.031 kB / 0.5226 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001706/0.00733, allocations: 12.89 kB / 0.5227 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.007542, allocations: 128.5 kB / 0.5228 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.007553, allocations: 2.094 kB / 0.5228 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.007565, allocations: 4.375 kB / 0.5228 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.007726, allocations: 54.23 kB / 0.5228 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.007735, allocations: 192 / 0.5228 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.007744, allocations: 0.9375 kB / 0.5228 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.007753, allocations: 3.938 kB / 0.5228 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.496e-05/0.007848, allocations: 28.83 kB / 0.5229 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004856/0.008333, allocations: 271.7 kB / 0.5231 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.008447, allocations: 48.08 kB / 0.5232 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.957e-05/0.008497, allocations: 15.75 kB / 0.5232 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002452/0.008742, allocations: 45.66 kB / 0.5232 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.008781, allocations: 33.39 kB / 0.5233 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.008782, allocations: 1.5 kB / 0.5233 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0002641/0.009046, allocations: 57.67 kB / 0.5233 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.009091, allocations: 52.53 kB / 0.5234 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.009241, allocations: 177.9 kB / 0.5235 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.446e-05/0.009275, allocations: 25.7 kB / 0.5236 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.009378, allocations: 147.5 kB / 0.5237 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.839e-05/0.009396, allocations: 3.953 kB / 0.5237 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.831e-05/0.009444, allocations: 28.58 kB / 0.5237 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005164/0.009961, allocations: 496.1 kB / 0.5242 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.957e-05/0.01, allocations: 4 kB / 0.5242 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.915e-05/0.01004, allocations: 17.11 kB / 0.5242 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.36e-05/0.01011, allocations: 19.69 kB / 0.5242 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.01012, allocations: 0.5 kB / 0.5242 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000147/0.01026, allocations: 60.5 kB / 0.5243 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.01028, allocations: 8 kB / 0.5243 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.01029, allocations: 0 / 0.5243 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.0103, allocations: 0 / 0.5243 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.759e-05/0.01038, allocations: 11.92 kB / 0.5243 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.01038, allocations: 0 / 0.5243 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.693e-05/0.01041, allocations: 0 / 0.5243 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.01042, allocations: 3.031 kB / 0.5243 GB, free: 13.54 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 (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 0.0001213/0.01054, allocations: 160.6 kB / 0.5245 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.408e-05/0.01057, allocations: 11.89 kB / 0.5245 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001688/0.01074, allocations: 57.3 kB / 0.5245 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.01075, allocations: 4 kB / 0.5245 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.01075, allocations: 0 / 0.5245 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.01075, allocations: 1.5 kB / 0.5245 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.01092, allocations: 120.6 kB / 0.5247 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.01092, allocations: 0 / 0.5247 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.281e-05/0.01096, allocations: 7.938 kB / 0.5247 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.01097, allocations: 7.047 kB / 0.5247 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.01098, allocations: 8 kB / 0.5247 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.01098, allocations: 0 / 0.5247 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.01099, allocations: 3.938 kB / 0.5247 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.01123, allocations: 195.9 kB / 0.5249 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.675e-05/0.01125, allocations: 11.89 kB / 0.5249 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.01126, allocations: 3.984 kB / 0.5249 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.384e-05/0.01132, allocations: 2.438 kB / 0.5249 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/0.01135, allocations: 3.984 kB / 0.5249 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.01136, allocations: 4 kB / 0.5249 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.654e-05/0.01144, allocations: 131.2 kB / 0.525 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01144, allocations: 0 / 0.525 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002395/0.01168, allocations: 23.92 kB / 0.525 GB, free: 12.73 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 (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.000194/0.01188, allocations: 104.4 kB / 0.5251 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001693/0.01205, allocations: 31.61 kB / 0.5252 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.01205, allocations: 0.875 kB / 0.5252 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.641e-05/0.0121, allocations: 24.83 kB / 0.5252 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.01231, allocations: 4 kB / 0.5252 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00037/0.01268, allocations: 135.5 kB / 0.5253 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.959e-05/0.01276, allocations: 67.2 kB / 0.5254 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.739e-05/0.01279, allocations: 9.266 kB / 0.5254 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.8e-05/0.01281, allocations: 8.5 kB / 0.5254 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of SimCode: time 7.31e-07/0.01281, allocations: 0 / 0.5254 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of Templates: time 0.003948/0.01676, allocations: 0.5496 MB / 0.526 GB, free: 11.77 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.988925082958303]