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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005229/0.005229, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001366/0.001366, allocations: 198.1 kB / 16.68 MB, free: 5.977 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.018/1.018, allocations: 135.6 MB / 426.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 71.88 kB / 0.5858 GB, free: 3.199 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.4083, allocations: 81.03 MB / 0.6649 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.002222/0.4106, allocations: 1.473 MB / 0.6663 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008419/0.4115, allocations: 0.6413 MB / 0.667 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.627e-05/0.4115, allocations: 1.562 kB / 0.667 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.7e-05/0.4115, allocations: 7.922 kB / 0.667 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.962e-05/0.4116, allocations: 7.922 kB / 0.667 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000314/0.4119, allocations: 73.58 kB / 0.667 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.966e-05/0.412, allocations: 35.11 kB / 0.6671 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.754e-05/0.4121, allocations: 13.62 kB / 0.6671 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.008e-05/0.4122, allocations: 21.88 kB / 0.6671 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.93e-05/0.4122, allocations: 21.7 kB / 0.6671 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.4123, allocations: 3.062 kB / 0.6671 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001721/0.4124, allocations: 94.94 kB / 0.6672 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.525e-05/0.4125, allocations: 9.328 kB / 0.6672 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.635e-05/0.4125, allocations: 15.75 kB / 0.6672 GB, free: 5 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001669/0.4127, allocations: 90.11 kB / 0.6673 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4127, allocations: 5.688 kB / 0.6673 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.292e-06/0.4127, allocations: 0 / 0.6673 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.4127, allocations: 0 / 0.6673 GB, free: 4.941 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.0003687/0.4131, allocations: 368.6 kB / 0.6677 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.4131, allocations: 9.156 kB / 0.6677 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.449e-05/0.4131, allocations: 32.28 kB / 0.6677 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.515e-05/0.4132, allocations: 3.438 kB / 0.6677 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.834e-05/0.4133, allocations: 171.6 kB / 0.6679 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.4133, allocations: 1.531 kB / 0.6679 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.4133, allocations: 10.53 kB / 0.6679 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.4134, allocations: 54.91 kB / 0.668 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.4135, allocations: 4 kB / 0.668 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.557e-06/0.4135, allocations: 4 kB / 0.668 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.4135, allocations: 1.281 kB / 0.668 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.4136, allocations: 27.56 kB / 0.668 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000299/0.4139, allocations: 279.2 kB / 0.6683 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.999e-05/0.414, allocations: 36.36 kB / 0.6683 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.628e-05/0.414, allocations: 18.03 kB / 0.6683 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000326/0.4144, allocations: 0.5534 MB / 0.6689 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.221e-05/0.4144, allocations: 30.56 kB / 0.6689 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.4144, allocations: 5.094 kB / 0.6689 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002301/0.4146, allocations: 71.38 kB / 0.669 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.809e-05/0.4147, allocations: 52.53 kB / 0.669 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.764e-05/0.4147, allocations: 125.5 kB / 0.6691 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.294e-06/0.4148, allocations: 25.7 kB / 0.6692 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.419e-05/0.4148, allocations: 91.06 kB / 0.6692 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.392e-05/0.4148, allocations: 9.297 kB / 0.6692 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.697e-05/0.4148, allocations: 16.19 kB / 0.6693 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.301e-05/0.4149, allocations: 324 kB / 0.6696 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.955e-05/0.4149, allocations: 5.125 kB / 0.6696 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.303e-05/0.415, allocations: 10.61 kB / 0.6696 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.594e-05/0.4151, allocations: 29.12 kB / 0.6696 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.4151, allocations: 0 / 0.6696 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001074/0.4152, allocations: 59.22 kB / 0.6697 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.4152, allocations: 5.406 kB / 0.6697 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.4152, allocations: 0 / 0.6697 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.4152, allocations: 5.062 kB / 0.6697 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.218e-05/0.4153, allocations: 7.734 kB / 0.6697 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.4153, allocations: 1.375 kB / 0.6697 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.096e-05/0.4153, allocations: 5.484 kB / 0.6697 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.4153, allocations: 5.25 kB / 0.6697 GB, free: 2.379 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 4.587e-05/0.4154, allocations: 116 kB / 0.6698 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.4154, allocations: 6.312 kB / 0.6698 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001433/0.4156, allocations: 58.39 kB / 0.6699 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.4156, allocations: 3.984 kB / 0.6699 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.4156, allocations: 1.062 kB / 0.6699 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.4156, allocations: 0 / 0.6699 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.4157, allocations: 173.5 kB / 0.67 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4157, allocations: 0 / 0.67 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.058e-05/0.4158, allocations: 9.078 kB / 0.6701 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.4158, allocations: 0 / 0.6701 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.4158, allocations: 4.031 kB / 0.6701 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4158, allocations: 1.156 kB / 0.6701 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.4158, allocations: 0 / 0.6701 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001254/0.4159, allocations: 157.8 kB / 0.6702 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.962e-05/0.416, allocations: 82.39 kB / 0.6703 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.416, allocations: 1.094 kB / 0.6703 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.979e-05/0.416, allocations: 5.406 kB / 0.6703 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.04e-05/0.4161, allocations: 5.953 kB / 0.6703 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.4161, allocations: 1.125 kB / 0.6703 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.661e-05/0.4161, allocations: 101.7 kB / 0.6704 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4161, allocations: 0 / 0.6704 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002242/0.4164, allocations: 17.61 kB / 0.6704 GB, free: 1.629 MB / 0.4981 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.0003134/0.4167, allocations: 0.6863 MB / 0.6711 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001258/0.4168, allocations: 23.05 kB / 0.6711 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4168, allocations: 0 / 0.6711 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.304e-05/0.4169, allocations: 12.28 kB / 0.6711 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002098/0.4171, allocations: 9.047 kB / 0.6711 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.4182, allocations: 1.321 MB / 0.6724 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.4185, allocations: 0.6803 MB / 0.6731 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.531e-05/0.4185, allocations: 3.094 kB / 0.6731 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.801e-05/0.4186, allocations: 17.08 kB / 0.6731 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.4186, allocations: 0 / 0.6731 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02114/0.4397, allocations: 1.488 MB / 0.6746 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.767/8.207, allocations: 6.156 kB / 0.6746 GB, free: 14.11 MB / 0.5137 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_dev_IDEAS_Utilities_Math_Examples_Splice.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe 2>&1)