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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Splice,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Splice,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001182/0.001181, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8171/0.8171, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 221.3 MB / 400.4 MB, free: 5.801 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008588/0.0008589, allocations: 100.3 kB / 483.3 MB, free: 5.832 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.152e-05/4.154e-05, allocations: 4.5 kB / 0.5601 GB, free: 87.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1415, allocations: 82.31 MB / 0.6405 GB, free: 7.738 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6992/0.8408, allocations: 112.4 MB / 0.7503 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002161/0.841, allocations: 74.55 kB / 0.7504 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.006119/0.8472, allocations: 2.191 MB / 0.7525 GB, free: 27.54 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.333e-06/0.8472, allocations: 0 / 0.7525 GB, free: 27.54 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.351e-05/0.8472, allocations: 3.844 kB / 0.7525 GB, free: 27.54 MB / 0.5105 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.0003482/0.8476, allocations: 363.3 kB / 0.7529 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.8476, allocations: 7.688 kB / 0.7529 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.276e-05/0.8477, allocations: 42.31 kB / 0.7529 GB, free: 27.13 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.442e-05/0.8477, allocations: 3.844 kB / 0.7529 GB, free: 27.13 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.8478, allocations: 174.7 kB / 0.7531 GB, free: 26.92 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.8478, allocations: 0 / 0.7531 GB, free: 26.92 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.8478, allocations: 14.67 kB / 0.7531 GB, free: 26.92 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.848, allocations: 44.39 kB / 0.7531 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.848, allocations: 0 / 0.7531 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.848, allocations: 3.875 kB / 0.7531 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.848, allocations: 0 / 0.7531 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.688e-05/0.8481, allocations: 14.97 kB / 0.7531 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003457/0.8484, allocations: 286.7 kB / 0.7534 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.697e-05/0.8485, allocations: 24.14 kB / 0.7534 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.309e-05/0.8485, allocations: 12.67 kB / 0.7535 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004021/0.8489, allocations: 0.5596 MB / 0.754 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.849, allocations: 42.19 kB / 0.754 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.183e-06/0.849, allocations: 3.938 kB / 0.754 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001475/0.8491, allocations: 47.78 kB / 0.7541 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.8492, allocations: 51.41 kB / 0.7541 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.858e-05/0.8492, allocations: 110.1 kB / 0.7542 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.8493, allocations: 25.7 kB / 0.7543 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.981e-05/0.8493, allocations: 91.66 kB / 0.7544 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.307e-05/0.8493, allocations: 11.69 kB / 0.7544 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/0.8493, allocations: 0 / 0.7544 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.8495, allocations: 317.2 kB / 0.7547 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.593e-05/0.8495, allocations: 7.688 kB / 0.7547 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.156e-05/0.8495, allocations: 3.812 kB / 0.7547 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.152e-05/0.8495, allocations: 10.14 kB / 0.7547 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.8495, allocations: 0 / 0.7547 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.927e-05/0.8496, allocations: 52.58 kB / 0.7547 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.8496, allocations: 11.34 kB / 0.7548 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.8496, allocations: 0 / 0.7548 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.8497, allocations: 1.125 kB / 0.7548 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.619e-05/0.8497, allocations: 3.844 kB / 0.7548 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.8497, allocations: 3.953 kB / 0.7548 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.186e-05/0.8498, allocations: 6.625 kB / 0.7548 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.8498, allocations: 0 / 0.7548 GB, free: 25.2 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.084e-05/0.8499, allocations: 108.9 kB / 0.7549 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.8499, allocations: 3.906 kB / 0.7549 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001112/0.85, allocations: 58.02 kB / 0.7549 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.85, allocations: 3.844 kB / 0.7549 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.85, allocations: 0.8125 kB / 0.7549 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.85, allocations: 3.953 kB / 0.7549 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.8502, allocations: 164.8 kB / 0.7551 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.8502, allocations: 0 / 0.7551 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.033e-05/0.8503, allocations: 6.609 kB / 0.7551 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.8503, allocations: 4.031 kB / 0.7551 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.8503, allocations: 7.875 kB / 0.7551 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.8503, allocations: 0 / 0.7551 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.8503, allocations: 3.938 kB / 0.7551 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.981e-05/0.8504, allocations: 141.1 kB / 0.7553 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.91e-05/0.8505, allocations: 87.47 kB / 0.7553 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.8505, allocations: 3.938 kB / 0.7553 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.124e-05/0.8505, allocations: 7.812 kB / 0.7553 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.835e-05/0.8506, allocations: 1.922 kB / 0.7553 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.8506, allocations: 0 / 0.7553 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.858e-05/0.8506, allocations: 102.2 kB / 0.7554 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8506, allocations: 0 / 0.7554 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00021/0.8509, allocations: 15.53 kB / 0.7555 GB, free: 24.52 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004368/0.8513, allocations: 0.689 MB / 0.7561 GB, free: 23.85 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.249e-05/0.8514, allocations: 19.62 kB / 0.7562 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.8514, allocations: 0 / 0.7562 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.939e-05/0.8514, allocations: 3.844 kB / 0.7562 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/0.8516, allocations: 4.5 kB / 0.7562 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003213/0.8519, allocations: 102.7 kB / 0.7563 GB, free: 23.74 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.8522, allocations: 0.6897 MB / 0.7569 GB, free: 23.04 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.308e-05/0.8522, allocations: 2.344 kB / 0.7569 GB, free: 23.04 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.96e-05/0.8522, allocations: 15.03 kB / 0.7569 GB, free: 23.03 MB / 0.5105 GB Notification: Performance of SimCode: time 2.11e-07/0.8522, allocations: 0 / 0.7569 GB, free: 23.03 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01265/0.8649, allocations: 1.211 MB / 0.7581 GB, free: 22.87 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000157/0.8651, allocations: 136.1 kB / 0.7583 GB, free: 22.64 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.638/2.503, allocations: 0 / 0.7583 GB, free: 22.64 MB / 0.5105 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_Splice.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe 2>&1)