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.008037/0.008037, allocations: 170.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7852/0.7852, allocations: 135.2 MB / 151 MB, free: 13.81 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.591/1.591, allocations: 223.2 MB / 406.8 MB, free: 3.145 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009106/0.0009104, allocations: 100.6 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004907/0.0004907, allocations: 12 kB / 0.5692 GB, free: 14.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4127/0.4132, allocations: 82.3 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1482/0.5614, allocations: 112.5 MB / 0.7594 GB, free: 3.477 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/0.5617, allocations: 75.95 kB / 0.7595 GB, free: 3.402 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.006775/0.5685, allocations: 2.212 MB / 0.7616 GB, free: 1.191 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.807e-06/0.5685, allocations: 0 / 0.7616 GB, free: 1.191 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.5686, allocations: 3.938 kB / 0.7616 GB, free: 1.188 MB / 0.5261 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.0003679/0.5689, allocations: 367.1 kB / 0.762 GB, free: 0.7812 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.569, allocations: 11.97 kB / 0.762 GB, free: 0.7695 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.209e-05/0.569, allocations: 34.56 kB / 0.762 GB, free: 0.7266 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.444e-05/0.5691, allocations: 3.906 kB / 0.762 GB, free: 0.7227 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.5692, allocations: 179 kB / 0.7622 GB, free: 0.5078 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.5692, allocations: 0 / 0.7622 GB, free: 0.5078 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.5693, allocations: 4 kB / 0.7622 GB, free: 0.5039 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.5695, allocations: 49.69 kB / 0.7622 GB, free: 460 kB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.5695, allocations: 7.938 kB / 0.7622 GB, free: 452 kB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.5695, allocations: 0 / 0.7622 GB, free: 452 kB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.5695, allocations: 0 / 0.7622 GB, free: 452 kB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.5697, allocations: 39.91 kB / 0.7623 GB, free: 412 kB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004461/0.5701, allocations: 284.7 kB / 0.7626 GB, free: 76 kB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.891e-05/0.5702, allocations: 30.56 kB / 0.7626 GB, free: 36 kB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000483/0.5707, allocations: 0.57 MB / 0.7631 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.5708, allocations: 30.56 kB / 0.7632 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/0.5708, allocations: 0 / 0.7632 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0002519/0.571, allocations: 73.58 kB / 0.7632 GB, free: 15.22 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.5711, allocations: 55.36 kB / 0.7633 GB, free: 15.15 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.5712, allocations: 113.1 kB / 0.7634 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.5712, allocations: 25.7 kB / 0.7634 GB, free: 15 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.109e-05/0.5713, allocations: 88.14 kB / 0.7635 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.5713, allocations: 7.906 kB / 0.7635 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-06/0.5713, allocations: 0 / 0.7635 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.5714, allocations: 318.8 kB / 0.7638 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.425e-05/0.5715, allocations: 8 kB / 0.7638 GB, free: 14.58 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.139e-05/0.5715, allocations: 23.92 kB / 0.7639 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.507e-05/0.5716, allocations: 8 kB / 0.7639 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5716, allocations: 0 / 0.7639 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001229/0.5717, allocations: 57.67 kB / 0.7639 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.5718, allocations: 4 kB / 0.7639 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.5718, allocations: 8 kB / 0.7639 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.5718, allocations: 4.094 kB / 0.7639 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.706e-05/0.5719, allocations: 4 kB / 0.7639 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.5719, allocations: 3.938 kB / 0.7639 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.17e-05/0.5719, allocations: 11.86 kB / 0.7639 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.572, allocations: 3.984 kB / 0.764 GB, free: 14.45 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.468e-05/0.5721, allocations: 116.4 kB / 0.7641 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.5721, allocations: 0 / 0.7641 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001691/0.5723, allocations: 73.14 kB / 0.7641 GB, free: 14.24 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.5723, allocations: 4 kB / 0.7641 GB, free: 14.24 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.5723, allocations: 0 / 0.7641 GB, free: 14.24 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.5723, allocations: 0 / 0.7641 GB, free: 14.24 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.5725, allocations: 165.6 kB / 0.7643 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.5725, allocations: 0 / 0.7643 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.288e-05/0.5725, allocations: 8 kB / 0.7643 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.5725, allocations: 0 / 0.7643 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.5725, allocations: 8.016 kB / 0.7643 GB, free: 14.01 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.5726, allocations: 4 kB / 0.7643 GB, free: 14.01 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.5726, allocations: 0 / 0.7643 GB, free: 14.01 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001715/0.5727, allocations: 159.3 kB / 0.7645 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.986e-05/0.5728, allocations: 85.02 kB / 0.7645 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.5728, allocations: 3.984 kB / 0.7646 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.985e-05/0.5729, allocations: 8.031 kB / 0.7646 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.898e-05/0.5729, allocations: 4 kB / 0.7646 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.5729, allocations: 0 / 0.7646 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.264e-05/0.573, allocations: 95.27 kB / 0.7647 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1e-07/0.573, allocations: 0 / 0.7647 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002185/0.5732, allocations: 15.94 kB / 0.7647 GB, free: 13.61 MB / 0.5417 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 (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.0005325/0.5737, allocations: 0.6929 MB / 0.7653 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001257/0.5739, allocations: 31.92 kB / 0.7654 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5739, allocations: 0 / 0.7654 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.635e-05/0.574, allocations: 20.08 kB / 0.7654 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/0.5741, allocations: 5.469 kB / 0.7654 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007726/0.5749, allocations: 479 kB / 0.7659 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.5751, allocations: 0.6809 MB / 0.7665 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.738e-05/0.5752, allocations: 7.984 kB / 0.7665 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.39e-05/0.5752, allocations: 15.44 kB / 0.7665 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of SimCode: time 2.3e-07/0.5752, allocations: 0 / 0.7665 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01159/0.5868, allocations: 1.218 MB / 0.7677 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002225/0.5871, allocations: 165.6 kB / 0.7679 GB, free: 10.22 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.451/2.038, allocations: 3.938 kB / 0.7679 GB, free: 10.22 MB / 0.5417 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)