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.001161/0.001161, 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.001473/0.001473, 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.407/1.407, 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-master/package.mo): time 0.992/0.992, allocations: 135.1 MB / 425.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002077, allocations: 68.89 kB / 0.5054 GB, free: 5.203 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2295, allocations: 80.93 MB / 0.5845 GB, free: 4.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.004245/0.2338, allocations: 1.483 MB / 0.5859 GB, free: 2.93 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001627/0.2355, allocations: 0.6335 MB / 0.5865 GB, free: 2.289 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.168e-05/0.2355, allocations: 7.938 kB / 0.5865 GB, free: 2.281 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.531e-05/0.2356, allocations: 3.938 kB / 0.5865 GB, free: 2.277 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.217e-05/0.2357, allocations: 11.86 kB / 0.5866 GB, free: 2.266 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004699/0.2362, allocations: 71.73 kB / 0.5866 GB, free: 2.195 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.219e-05/0.2363, allocations: 39.86 kB / 0.5867 GB, free: 2.156 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.2364, allocations: 16 kB / 0.5867 GB, free: 2.141 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.586e-05/0.2365, allocations: 19.91 kB / 0.5867 GB, free: 2.121 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.575e-05/0.2366, allocations: 15.92 kB / 0.5867 GB, free: 2.105 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.2366, allocations: 4 kB / 0.5867 GB, free: 2.102 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002575/0.2369, allocations: 91.91 kB / 0.5868 GB, free: 2.012 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.118e-05/0.2369, allocations: 11.92 kB / 0.5868 GB, free: 2 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.61e-05/0.237, allocations: 11.94 kB / 0.5868 GB, free: 1.988 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002265/0.2372, allocations: 92.05 kB / 0.5869 GB, free: 1.898 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2372, allocations: 0 / 0.5869 GB, free: 1.898 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2373, allocations: 0 / 0.5869 GB, free: 1.898 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.2373, allocations: 4 kB / 0.5869 GB, free: 1.895 MB / 494.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.0005246/0.2378, allocations: 355.3 kB / 0.5873 GB, free: 1.5 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.2379, allocations: 12.03 kB / 0.5873 GB, free: 1.488 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.237e-05/0.2379, allocations: 34.75 kB / 0.5873 GB, free: 1.445 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.796e-05/0.238, allocations: 4.938 kB / 0.5873 GB, free: 1.441 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.2381, allocations: 172.2 kB / 0.5875 GB, free: 1.234 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.2381, allocations: 4.375 kB / 0.5875 GB, free: 1.23 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.2382, allocations: 4.375 kB / 0.5875 GB, free: 1.227 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/0.2384, allocations: 61.8 kB / 0.5875 GB, free: 1.16 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.2384, allocations: 0 / 0.5875 GB, free: 1.16 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.2384, allocations: 4 kB / 0.5875 GB, free: 1.156 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.2384, allocations: 0 / 0.5875 GB, free: 1.156 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001447/0.2386, allocations: 23.98 kB / 0.5876 GB, free: 1.133 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004612/0.2391, allocations: 280.7 kB / 0.5878 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.2392, allocations: 38.56 kB / 0.5879 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.511e-05/0.2393, allocations: 16.91 kB / 0.5879 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006158/0.2399, allocations: 0.5544 MB / 0.5884 GB, free: 60 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.24, allocations: 30.56 kB / 0.5885 GB, free: 20 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 3.317e-06/0.24, allocations: 0 / 0.5885 GB, free: 20 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003896/0.2404, allocations: 77.52 kB / 0.5885 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.2404, allocations: 51.41 kB / 0.5886 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.2406, allocations: 121.8 kB / 0.5887 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.2406, allocations: 25.7 kB / 0.5887 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.999e-05/0.2407, allocations: 96.06 kB / 0.5888 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.2407, allocations: 7.906 kB / 0.5888 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.982e-05/0.2407, allocations: 17.72 kB / 0.5888 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.2409, allocations: 322.9 kB / 0.5891 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.537e-05/0.241, allocations: 8 kB / 0.5892 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.789e-05/0.241, allocations: 11.98 kB / 0.5892 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.2412, allocations: 28.8 kB / 0.5892 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.2412, allocations: 3.938 kB / 0.5892 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001955/0.2414, allocations: 53.67 kB / 0.5892 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.2414, allocations: 12.09 kB / 0.5893 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.2414, allocations: 0 / 0.5893 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.2415, allocations: 0 / 0.5893 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.203e-05/0.2416, allocations: 4 kB / 0.5893 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.2416, allocations: 0 / 0.5893 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.464e-05/0.2417, allocations: 7.984 kB / 0.5893 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.2417, allocations: 3.938 kB / 0.5893 GB, free: 15.12 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 8.674e-05/0.2418, allocations: 105.8 kB / 0.5894 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.929e-05/0.2418, allocations: 7.906 kB / 0.5894 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002287/0.2421, allocations: 73.14 kB / 0.5894 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.2421, allocations: 0 / 0.5894 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.2421, allocations: 4 kB / 0.5895 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.2421, allocations: 0 / 0.5895 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002521/0.2424, allocations: 169.6 kB / 0.5896 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2424, allocations: 0 / 0.5896 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.309e-05/0.2425, allocations: 7.984 kB / 0.5896 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.2425, allocations: 0 / 0.5896 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.545e-06/0.2425, allocations: 0 / 0.5896 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2425, allocations: 4.031 kB / 0.5896 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.2425, allocations: 3.984 kB / 0.5896 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.2428, allocations: 159.3 kB / 0.5898 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.406e-05/0.2428, allocations: 81.09 kB / 0.5899 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.2429, allocations: 0 / 0.5899 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.243, allocations: 7.984 kB / 0.5899 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/0.243, allocations: 7.969 kB / 0.5899 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.2431, allocations: 0 / 0.5899 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.212e-05/0.2432, allocations: 103.2 kB / 0.59 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2432, allocations: 0 / 0.59 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004449/0.2436, allocations: 8 kB / 0.59 GB, free: 14.29 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.0006184/0.2443, allocations: 0.6968 MB / 0.5907 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001789/0.2445, allocations: 27.92 kB / 0.5907 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.2445, allocations: 0 / 0.5907 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.3e-05/0.2445, allocations: 8 kB / 0.5907 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.2449, allocations: 7.719 kB / 0.5907 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/0.2469, allocations: 1.315 MB / 0.592 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.2472, allocations: 0.6884 MB / 0.5927 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.808e-05/0.2473, allocations: 4 kB / 0.5927 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.635e-05/0.2473, allocations: 15.44 kB / 0.5927 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of SimCode: time 3.91e-07/0.2473, allocations: 0 / 0.5927 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02233/0.2697, allocations: 1.459 MB / 0.5941 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.24/7.51, allocations: 1.641 kB / 0.5941 GB, free: 10.01 MB / 0.4981 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)