Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Splice,fileNamePrefix="IDEAS_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.001674/0.001674, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002257/0.002258, allocations: 194.6 kB / 16.53 MB, free: 6.664 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: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7694/0.7694, allocations: 132.2 MB / 422.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 58.89 kB / 0.5019 GB, free: 3.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4131/0.4144, allocations: 80.2 MB / 0.5802 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.002674/0.4171, allocations: 1.484 MB / 0.5816 GB, free: 3.523 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009734/0.4181, allocations: 0.6478 MB / 0.5823 GB, free: 3.066 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.13e-05/0.4182, allocations: 1.156 kB / 0.5823 GB, free: 3.066 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.031e-05/0.4182, allocations: 1.312 kB / 0.5823 GB, free: 3.066 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.163e-05/0.4183, allocations: 9.094 kB / 0.5823 GB, free: 3.059 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003204/0.4186, allocations: 75.61 kB / 0.5824 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.449e-05/0.4187, allocations: 39.41 kB / 0.5824 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.4188, allocations: 17.22 kB / 0.5824 GB, free: 2.996 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.778e-05/0.4189, allocations: 15.05 kB / 0.5824 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.32e-05/0.4189, allocations: 16.94 kB / 0.5824 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.419, allocations: 3.219 kB / 0.5824 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001849/0.4192, allocations: 98.89 kB / 0.5825 GB, free: 2.953 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.514e-05/0.4192, allocations: 5.625 kB / 0.5825 GB, free: 2.949 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.891e-05/0.4192, allocations: 22.52 kB / 0.5826 GB, free: 2.934 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001817/0.4194, allocations: 84.45 kB / 0.5826 GB, free: 2.902 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4194, allocations: 0 / 0.5826 GB, free: 2.902 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4194, allocations: 1.156 kB / 0.5826 GB, free: 2.902 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.4194, allocations: 0 / 0.5826 GB, free: 2.902 MB / 430.1 MB 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.0003723/0.4198, allocations: 369.9 kB / 0.583 GB, free: 2.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.4199, allocations: 9.875 kB / 0.583 GB, free: 2.52 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.74e-05/0.4199, allocations: 32.25 kB / 0.583 GB, free: 2.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.726e-05/0.4199, allocations: 7.594 kB / 0.583 GB, free: 2.477 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.518e-05/0.42, allocations: 184.7 kB / 0.5832 GB, free: 2.262 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.42, allocations: 6.344 kB / 0.5832 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-06/0.42, allocations: 1.75 kB / 0.5832 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.4202, allocations: 57.38 kB / 0.5833 GB, free: 2.215 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.4202, allocations: 0 / 0.5833 GB, free: 2.215 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.4202, allocations: 0.9375 kB / 0.5833 GB, free: 2.215 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.4202, allocations: 1.719 kB / 0.5833 GB, free: 2.215 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.567e-05/0.4203, allocations: 31.38 kB / 0.5833 GB, free: 2.203 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003047/0.4206, allocations: 279.5 kB / 0.5836 GB, free: 1.914 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.985e-05/0.4207, allocations: 26.97 kB / 0.5836 GB, free: 1.891 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.724e-05/0.4208, allocations: 17.22 kB / 0.5836 GB, free: 1.879 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003546/0.4211, allocations: 0.5577 MB / 0.5842 GB, free: 1.219 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.4212, allocations: 39.88 kB / 0.5842 GB, free: 1.172 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.4212, allocations: 0 / 0.5842 GB, free: 1.172 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002522/0.4214, allocations: 63.72 kB / 0.5843 GB, free: 1.133 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.397e-05/0.4215, allocations: 51.41 kB / 0.5843 GB, free: 1.07 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.233e-05/0.4216, allocations: 123.4 kB / 0.5844 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.126e-06/0.4216, allocations: 25.7 kB / 0.5845 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.67e-05/0.4216, allocations: 95.81 kB / 0.5845 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.502e-05/0.4216, allocations: 5.641 kB / 0.5846 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.939e-05/0.4217, allocations: 18.39 kB / 0.5846 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.358e-05/0.4217, allocations: 322 kB / 0.5849 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.22e-05/0.4218, allocations: 6.812 kB / 0.5849 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.678e-05/0.4218, allocations: 16.61 kB / 0.5849 GB, free: 500 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.884e-05/0.4219, allocations: 25.12 kB / 0.5849 GB, free: 488 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.4219, allocations: 4.062 kB / 0.5849 GB, free: 484 kB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001116/0.422, allocations: 51.8 kB / 0.585 GB, free: 448 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.422, allocations: 7.891 kB / 0.585 GB, free: 448 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.4221, allocations: 1.094 kB / 0.585 GB, free: 448 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.4221, allocations: 0 / 0.585 GB, free: 448 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.477e-05/0.4221, allocations: 6.781 kB / 0.585 GB, free: 448 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.4222, allocations: 0 / 0.585 GB, free: 448 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.293e-05/0.4222, allocations: 2.891 kB / 0.585 GB, free: 448 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/0.4222, allocations: 6.234 kB / 0.585 GB, free: 444 kB / 430.1 MB 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 5.154e-05/0.4223, allocations: 126 kB / 0.5851 GB, free: 312 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/0.4223, allocations: 6.469 kB / 0.5851 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001561/0.4225, allocations: 65.25 kB / 0.5852 GB, free: 260 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.4225, allocations: 1.516 kB / 0.5852 GB, free: 260 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.4225, allocations: 0 / 0.5852 GB, free: 260 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.4225, allocations: 1.562 kB / 0.5852 GB, free: 260 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.4226, allocations: 165.5 kB / 0.5854 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.4226, allocations: 4.031 kB / 0.5854 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.477e-05/0.4227, allocations: 6.359 kB / 0.5854 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.4227, allocations: 0 / 0.5854 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.4227, allocations: 6.062 kB / 0.5854 GB, free: 52 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.4227, allocations: 0 / 0.5854 GB, free: 52 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4227, allocations: 9.328 kB / 0.5854 GB, free: 44 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000185/0.4229, allocations: 155.1 kB / 0.5855 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.407e-05/0.423, allocations: 83.77 kB / 0.5856 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.423, allocations: 1.281 kB / 0.5856 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.201e-05/0.4231, allocations: 2.359 kB / 0.5856 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.118e-05/0.4231, allocations: 5.812 kB / 0.5856 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-06/0.4231, allocations: 2.906 kB / 0.5856 GB, free: 15.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.036e-05/0.4232, allocations: 100.3 kB / 0.5857 GB, free: 15.71 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4232, allocations: 0 / 0.5857 GB, free: 15.71 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000227/0.4234, allocations: 10.47 kB / 0.5857 GB, free: 15.71 MB / 446.1 MB 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.000497/0.4239, allocations: 0.6987 MB / 0.5864 GB, free: 15.03 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001364/0.4241, allocations: 23.25 kB / 0.5864 GB, free: 15.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.4241, allocations: 0 / 0.5864 GB, free: 15.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.009e-05/0.4241, allocations: 14.12 kB / 0.5864 GB, free: 15.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.4243, allocations: 5.219 kB / 0.5864 GB, free: 15.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.4256, allocations: 1.301 MB / 0.5877 GB, free: 13.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.4259, allocations: 0.682 MB / 0.5884 GB, free: 13.11 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.696e-05/0.426, allocations: 6.875 kB / 0.5884 GB, free: 13.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.633e-05/0.426, allocations: 15.06 kB / 0.5884 GB, free: 13.09 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.426, allocations: 0 / 0.5884 GB, free: 13.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01809/0.4441, allocations: 1.457 MB / 0.5898 GB, free: 12.72 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.327/7.771, allocations: 5.547 kB / 0.5898 GB, free: 12.71 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Splice.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Utilities_Math_Examples_Splice.fmu > IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe 2>&1)