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.001295/0.001295, allocations: 99.28 kB / 15.78 MB, free: 5.93 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.001258/0.001258, allocations: 194.7 kB / 16.72 MB, free: 5.793 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.55/1.55, allocations: 225.6 MB / 243.1 MB, free: 3.695 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9208/0.9208, allocations: 137 MB / 432.9 MB, free: 14.06 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 67.88 kB / 0.6011 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4427/0.4448, allocations: 85.44 MB / 0.6845 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.002796/0.4476, allocations: 1.494 MB / 0.686 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001239/0.4488, allocations: 0.6468 MB / 0.6866 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.534e-05/0.4489, allocations: 1.094 kB / 0.6866 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.32e-05/0.4489, allocations: 3.938 kB / 0.6866 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.605e-05/0.4489, allocations: 12.94 kB / 0.6866 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003877/0.4493, allocations: 76.7 kB / 0.6867 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.4494, allocations: 35.11 kB / 0.6867 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.4495, allocations: 15.91 kB / 0.6868 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.751e-05/0.4496, allocations: 14.22 kB / 0.6868 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.415e-05/0.4497, allocations: 20.33 kB / 0.6868 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.4497, allocations: 3.219 kB / 0.6868 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002145/0.4499, allocations: 99.23 kB / 0.6869 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.588e-05/0.4499, allocations: 5.359 kB / 0.6869 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.612e-05/0.45, allocations: 24 kB / 0.6869 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002102/0.4502, allocations: 78.81 kB / 0.687 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.4502, allocations: 0 / 0.687 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.512e-06/0.4502, allocations: 0 / 0.687 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.4502, allocations: 1.375 kB / 0.687 GB, free: 12.38 MB / 0.5137 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.000574/0.4508, allocations: 365 kB / 0.6873 GB, free: 12 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.4508, allocations: 11.3 kB / 0.6873 GB, free: 12 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.137e-05/0.4509, allocations: 34.73 kB / 0.6874 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.295e-05/0.4509, allocations: 11.62 kB / 0.6874 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.4511, allocations: 171 kB / 0.6876 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.087e-05/0.4511, allocations: 9.734 kB / 0.6876 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.4511, allocations: 3.125 kB / 0.6876 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.4513, allocations: 58.17 kB / 0.6876 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.4513, allocations: 0 / 0.6876 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.4514, allocations: 1.375 kB / 0.6876 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.4514, allocations: 1.375 kB / 0.6876 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.4515, allocations: 27.11 kB / 0.6876 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004825/0.4519, allocations: 282.6 kB / 0.6879 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.4521, allocations: 28.19 kB / 0.6879 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.51e-05/0.4521, allocations: 13.83 kB / 0.688 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005942/0.4527, allocations: 0.5564 MB / 0.6885 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/0.4527, allocations: 40.06 kB / 0.6885 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.4527, allocations: 0 / 0.6885 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0002924/0.453, allocations: 64.23 kB / 0.6886 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.4531, allocations: 55.39 kB / 0.6887 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.4532, allocations: 122.6 kB / 0.6888 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.4533, allocations: 25.7 kB / 0.6888 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.898e-05/0.4533, allocations: 89.98 kB / 0.6889 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.532e-05/0.4533, allocations: 9.172 kB / 0.6889 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.661e-05/0.4534, allocations: 16.33 kB / 0.6889 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.4535, allocations: 321 kB / 0.6892 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.609e-05/0.4536, allocations: 9.578 kB / 0.6892 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.561e-05/0.4536, allocations: 9.688 kB / 0.6892 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.255e-05/0.4537, allocations: 33.12 kB / 0.6893 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.4537, allocations: 64 / 0.6893 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001251/0.4538, allocations: 56.16 kB / 0.6893 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.4538, allocations: 9.141 kB / 0.6893 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.4538, allocations: 0 / 0.6893 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.4538, allocations: 0 / 0.6893 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.795e-05/0.4539, allocations: 4.75 kB / 0.6893 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.4539, allocations: 0 / 0.6893 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.583e-05/0.4539, allocations: 10.14 kB / 0.6893 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.454, allocations: 5.25 kB / 0.6893 GB, free: 9.824 MB / 0.5137 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 9.195e-05/0.454, allocations: 120.4 kB / 0.6895 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.4541, allocations: 2.5 kB / 0.6895 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001745/0.4542, allocations: 65.27 kB / 0.6895 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.4542, allocations: 1.344 kB / 0.6895 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.4543, allocations: 0 / 0.6895 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.4543, allocations: 1.812 kB / 0.6895 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/0.4544, allocations: 168.3 kB / 0.6897 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.4544, allocations: 0 / 0.6897 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.509e-05/0.4545, allocations: 13.27 kB / 0.6897 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.4545, allocations: 0 / 0.6897 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.4545, allocations: 3.984 kB / 0.6897 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.4545, allocations: 1.25 kB / 0.6897 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4545, allocations: 0 / 0.6897 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001778/0.4547, allocations: 157.9 kB / 0.6899 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.839e-05/0.4547, allocations: 82.56 kB / 0.6899 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.4547, allocations: 8.016 kB / 0.6899 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.048e-05/0.4548, allocations: 2.688 kB / 0.6899 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.4548, allocations: 5.344 kB / 0.6899 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.4548, allocations: 0 / 0.6899 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.287e-05/0.4549, allocations: 98.48 kB / 0.69 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.4549, allocations: 0 / 0.69 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002319/0.4552, allocations: 12.97 kB / 0.6901 GB, free: 9.074 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.0005829/0.4557, allocations: 0.6888 MB / 0.6907 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001554/0.4559, allocations: 25.45 kB / 0.6908 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4559, allocations: 0 / 0.6908 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.901e-05/0.4559, allocations: 16.39 kB / 0.6908 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002223/0.4562, allocations: 1.734 kB / 0.6908 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.4577, allocations: 1.318 MB / 0.6921 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/0.458, allocations: 0.6873 MB / 0.6927 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.421e-05/0.4581, allocations: 2.75 kB / 0.6927 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.689e-05/0.4581, allocations: 12.81 kB / 0.6927 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of SimCode: time 6.32e-07/0.4581, allocations: 1.375 kB / 0.6927 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02339/0.4815, allocations: 1.503 MB / 0.6942 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.996/8.477, allocations: 9.203 kB / 0.6942 GB, free: 5.543 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)