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.007231/0.007231, allocations: 100.2 kB / 15.73 MB, free: 6.016 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.001789/0.001789, allocations: 185.9 kB / 16.67 MB, free: 5.934 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7742/0.7742, allocations: 132.2 MB / 422.7 MB, free: 6.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 63.41 kB / 0.5809 GB, free: 23.92 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1405, allocations: 80.21 MB / 0.6592 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.002417/0.1429, allocations: 1.493 MB / 0.6607 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009855/0.1439, allocations: 0.6357 MB / 0.6613 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.867e-05/0.144, allocations: 8 kB / 0.6613 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.358e-05/0.144, allocations: 7.922 kB / 0.6613 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.983e-05/0.1441, allocations: 3.938 kB / 0.6613 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003278/0.1444, allocations: 71.75 kB / 0.6614 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.745e-05/0.1445, allocations: 39.89 kB / 0.6614 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.197e-05/0.1446, allocations: 12 kB / 0.6614 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.982e-05/0.1447, allocations: 27.86 kB / 0.6614 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.346e-05/0.1448, allocations: 15.92 kB / 0.6615 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.1448, allocations: 4 kB / 0.6615 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001997/0.145, allocations: 95.89 kB / 0.6615 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.709e-05/0.145, allocations: 11.88 kB / 0.6616 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.878e-05/0.1451, allocations: 15.88 kB / 0.6616 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.1452, allocations: 87.98 kB / 0.6617 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1453, allocations: 0 / 0.6617 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1453, allocations: 0 / 0.6617 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.1453, allocations: 0 / 0.6617 GB, free: 8.219 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.0004196/0.1457, allocations: 367.1 kB / 0.662 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.1457, allocations: 12.03 kB / 0.662 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.561e-05/0.1458, allocations: 34.75 kB / 0.6621 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.691e-05/0.1458, allocations: 8.922 kB / 0.6621 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.1459, allocations: 164.3 kB / 0.6622 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.1459, allocations: 8.312 kB / 0.6622 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-06/0.146, allocations: 384 / 0.6622 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.1461, allocations: 57.8 kB / 0.6623 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.1461, allocations: 4 kB / 0.6623 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.1461, allocations: 4 kB / 0.6623 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.1461, allocations: 0 / 0.6623 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.09e-05/0.1462, allocations: 31.92 kB / 0.6623 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003149/0.1466, allocations: 280.7 kB / 0.6626 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.1467, allocations: 34.56 kB / 0.6626 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.226e-05/0.1467, allocations: 16.91 kB / 0.6626 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00042/0.1472, allocations: 0.5583 MB / 0.6632 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.1472, allocations: 30.56 kB / 0.6632 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.1472, allocations: 0 / 0.6632 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002325/0.1474, allocations: 69.56 kB / 0.6633 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.1475, allocations: 55.53 kB / 0.6633 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.994e-05/0.1476, allocations: 121.8 kB / 0.6634 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.1476, allocations: 25.7 kB / 0.6635 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.014e-05/0.1477, allocations: 92.12 kB / 0.6636 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.556e-05/0.1477, allocations: 3.953 kB / 0.6636 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-05/0.1477, allocations: 13.72 kB / 0.6636 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.77e-05/0.1478, allocations: 322.8 kB / 0.6639 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.104e-05/0.1479, allocations: 8 kB / 0.6639 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.428e-05/0.1479, allocations: 15.98 kB / 0.6639 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.377e-05/0.148, allocations: 20.86 kB / 0.6639 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.148, allocations: 0 / 0.6639 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001138/0.1481, allocations: 57.61 kB / 0.664 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.1481, allocations: 9.875 kB / 0.664 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.1481, allocations: 0 / 0.664 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.1481, allocations: 0 / 0.664 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.355e-05/0.1482, allocations: 8.094 kB / 0.664 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.1482, allocations: 0 / 0.664 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.729e-05/0.1483, allocations: 19.88 kB / 0.664 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.1483, allocations: 3.938 kB / 0.664 GB, free: 5.438 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 7.457e-05/0.1484, allocations: 106.7 kB / 0.6641 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/0.1484, allocations: 4 kB / 0.6641 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001558/0.1486, allocations: 65.14 kB / 0.6642 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1486, allocations: 4.031 kB / 0.6642 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1486, allocations: 0 / 0.6642 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.1486, allocations: 4 kB / 0.6642 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.1487, allocations: 177.6 kB / 0.6644 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1488, allocations: 4 kB / 0.6644 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.261e-05/0.1488, allocations: 7.984 kB / 0.6644 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1488, allocations: 0 / 0.6644 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.1488, allocations: 0 / 0.6644 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1488, allocations: 0 / 0.6644 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1488, allocations: 0 / 0.6644 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.149, allocations: 155.4 kB / 0.6645 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/0.149, allocations: 85.05 kB / 0.6646 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.149, allocations: 4 kB / 0.6646 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.223e-05/0.1491, allocations: 4 kB / 0.6646 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.419e-05/0.1491, allocations: 3.938 kB / 0.6646 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.1491, allocations: 0 / 0.6646 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.27e-05/0.1492, allocations: 101.7 kB / 0.6647 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1492, allocations: 4.031 kB / 0.6647 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002204/0.1494, allocations: 11.94 kB / 0.6647 GB, free: 4.605 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.0004142/0.1499, allocations: 0.6852 MB / 0.6654 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001261/0.15, allocations: 24.02 kB / 0.6654 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.15, allocations: 3.938 kB / 0.6654 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.271e-05/0.15, allocations: 12 kB / 0.6654 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.1503, allocations: 4 kB / 0.6654 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.1514, allocations: 1.308 MB / 0.6667 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/0.1516, allocations: 0.6846 MB / 0.6674 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.471e-05/0.1516, allocations: 3.984 kB / 0.6674 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.673e-05/0.1516, allocations: 23.42 kB / 0.6674 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1516, allocations: 0 / 0.6674 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01608/0.1677, allocations: 1.491 MB / 0.6689 GB, free: 308 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.482/7.649, allocations: 3.453 kB / 0.6689 GB, free: 308 kB / 0.4981 GB (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)