Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice") translateModel(IDEAS.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 110.1 kB / 16.38 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 190.3 kB / 17.31 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.202/1.202, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7143/0.7143, allocations: 135.1 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 65.36 kB / 0.5862 GB, free: 21.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.122, allocations: 80.93 MB / 0.6653 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.002269/0.1243, allocations: 1.477 MB / 0.6667 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008779/0.1252, allocations: 0.6396 MB / 0.6673 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.317e-05/0.1253, allocations: 3.938 kB / 0.6673 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.653e-05/0.1253, allocations: 3.938 kB / 0.6673 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.915e-05/0.1253, allocations: 11.91 kB / 0.6674 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000286/0.1256, allocations: 79.75 kB / 0.6674 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.076e-05/0.1257, allocations: 35.84 kB / 0.6675 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.083e-05/0.1258, allocations: 12 kB / 0.6675 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.123e-05/0.1259, allocations: 23.91 kB / 0.6675 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.511e-05/0.1259, allocations: 19.86 kB / 0.6675 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.218e-06/0.1259, allocations: 0 / 0.6675 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00015/0.1261, allocations: 95.91 kB / 0.6676 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.309e-05/0.1261, allocations: 11.98 kB / 0.6676 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.496e-05/0.1261, allocations: 19.88 kB / 0.6676 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.1263, allocations: 75.78 kB / 0.6677 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1263, allocations: 3.984 kB / 0.6677 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1263, allocations: 0 / 0.6677 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.1263, allocations: 4 kB / 0.6677 GB, free: 3.273 MB / 0.4981 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.0003645/0.1267, allocations: 359.4 kB / 0.6681 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.943e-05/0.1267, allocations: 13.05 kB / 0.6681 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.784e-05/0.1268, allocations: 8.844 kB / 0.6681 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.416e-05/0.1269, allocations: 168.3 kB / 0.6682 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.1269, allocations: 4.375 kB / 0.6682 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.1269, allocations: 8.375 kB / 0.6683 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.127, allocations: 57.97 kB / 0.6683 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.127, allocations: 0 / 0.6683 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.1271, allocations: 4 kB / 0.6683 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1271, allocations: 0 / 0.6683 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.284e-05/0.1271, allocations: 27.97 kB / 0.6683 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002967/0.1274, allocations: 284.7 kB / 0.6686 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.45e-05/0.1275, allocations: 30.56 kB / 0.6686 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.453e-05/0.1276, allocations: 16.92 kB / 0.6687 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004049/0.128, allocations: 0.5544 MB / 0.6692 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.128, allocations: 34.56 kB / 0.6692 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.128, allocations: 0 / 0.6692 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002201/0.1283, allocations: 69.53 kB / 0.6693 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.1283, allocations: 55.39 kB / 0.6693 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.231e-05/0.1284, allocations: 121.8 kB / 0.6695 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.1284, allocations: 25.7 kB / 0.6695 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.273e-05/0.1284, allocations: 88.14 kB / 0.6696 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.614e-05/0.1285, allocations: 8.016 kB / 0.6696 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.849e-05/0.1285, allocations: 21.72 kB / 0.6696 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.654e-05/0.1286, allocations: 314.8 kB / 0.6699 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.721e-05/0.1287, allocations: 15.98 kB / 0.6699 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.942e-05/0.1287, allocations: 7.938 kB / 0.6699 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.095e-05/0.1288, allocations: 28.84 kB / 0.67 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1288, allocations: 4 kB / 0.67 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001103/0.1289, allocations: 69.58 kB / 0.67 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.428e-06/0.1289, allocations: 4 kB / 0.67 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.1289, allocations: 0 / 0.67 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.247e-06/0.1289, allocations: 0 / 0.67 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.783e-05/0.129, allocations: 4 kB / 0.67 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.878e-06/0.129, allocations: 3.938 kB / 0.67 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.161e-05/0.129, allocations: 4 kB / 0.67 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.1291, allocations: 3.984 kB / 0.67 GB, free: 0.5391 MB / 0.4981 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 7.079e-05/0.1291, allocations: 117.8 kB / 0.6702 GB, free: 424 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.364e-05/0.1292, allocations: 3.984 kB / 0.6702 GB, free: 420 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001407/0.1293, allocations: 65.14 kB / 0.6702 GB, free: 348 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1293, allocations: 4 kB / 0.6702 GB, free: 344 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1293, allocations: 0 / 0.6702 GB, free: 344 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.1293, allocations: 0 / 0.6702 GB, free: 344 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.1295, allocations: 169.6 kB / 0.6704 GB, free: 124 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.1295, allocations: 0 / 0.6704 GB, free: 124 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.072e-05/0.1295, allocations: 4.031 kB / 0.6704 GB, free: 120 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1295, allocations: 4 kB / 0.6704 GB, free: 116 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.1295, allocations: 3.984 kB / 0.6704 GB, free: 112 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1296, allocations: 0 / 0.6704 GB, free: 112 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1296, allocations: 0 / 0.6704 GB, free: 112 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001574/0.1297, allocations: 155.4 kB / 0.6705 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.096e-05/0.1298, allocations: 81.02 kB / 0.6706 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.1298, allocations: 8.016 kB / 0.6706 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.73e-05/0.1298, allocations: 7.938 kB / 0.6706 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.242e-05/0.1299, allocations: 0 / 0.6706 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.1299, allocations: 4 kB / 0.6706 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.028e-05/0.1299, allocations: 91.7 kB / 0.6707 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1299, allocations: 0 / 0.6707 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002142/0.1302, allocations: 19.94 kB / 0.6707 GB, free: 15.71 MB / 0.5137 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.0001136/0.1303, allocations: 102.2 kB / 0.6708 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001163/0.1304, allocations: 27.98 kB / 0.6709 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1304, allocations: 0 / 0.6709 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.075e-05/0.1305, allocations: 8 kB / 0.6709 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001949/0.1307, allocations: 4.328 kB / 0.6709 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002605/0.1309, allocations: 172.2 kB / 0.671 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002058/0.1311, allocations: 0.6808 MB / 0.6717 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.159e-05/0.1312, allocations: 23.31 kB / 0.6717 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.1312, allocations: 0 / 0.6717 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of Templates: time 0.001805/0.133, allocations: 0.7215 MB / 0.6724 GB, free: 13.91 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe 2>&1)