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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 107.6 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00186/0.00186, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.579/1.579, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8424/0.8424, allocations: 134 MB / 436.6 MB, free: 1.262 MB / 334.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 73.78 kB / 0.6051 GB, free: 15.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1601, allocations: 84.67 MB / 0.6878 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.002788/0.1629, allocations: 1.501 MB / 0.6893 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.164, allocations: 0.6513 MB / 0.6899 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.058e-05/0.164, allocations: 0 / 0.6899 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.318e-05/0.1641, allocations: 0 / 0.6899 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.897e-05/0.1641, allocations: 7.875 kB / 0.6899 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003294/0.1645, allocations: 79.73 kB / 0.69 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.817e-05/0.1645, allocations: 27.92 kB / 0.69 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.489e-05/0.1646, allocations: 16.25 kB / 0.69 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.091e-05/0.1647, allocations: 15.94 kB / 0.69 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.666e-05/0.1647, allocations: 23.86 kB / 0.6901 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.1647, allocations: 4 kB / 0.6901 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001789/0.1649, allocations: 99.89 kB / 0.6902 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.356e-05/0.1649, allocations: 3.984 kB / 0.6902 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.715e-05/0.165, allocations: 19.88 kB / 0.6902 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.1651, allocations: 83.66 kB / 0.6903 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1651, allocations: 0 / 0.6903 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1651, allocations: 0 / 0.6903 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.1651, allocations: 0 / 0.6903 GB, free: 8.559 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.0004721/0.1656, allocations: 367.2 kB / 0.6906 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.1657, allocations: 15.97 kB / 0.6906 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.552e-05/0.1657, allocations: 34.73 kB / 0.6907 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.557e-05/0.1657, allocations: 4.938 kB / 0.6907 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.1659, allocations: 168.3 kB / 0.6908 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.1659, allocations: 12.34 kB / 0.6908 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.1659, allocations: 384 / 0.6908 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.1661, allocations: 65.8 kB / 0.6909 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.1661, allocations: 0 / 0.6909 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.1661, allocations: 0 / 0.6909 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.1661, allocations: 7.938 kB / 0.6909 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.481e-05/0.1662, allocations: 27.98 kB / 0.6909 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00038/0.1666, allocations: 276.7 kB / 0.6912 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.639e-05/0.1667, allocations: 34.5 kB / 0.6912 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.574e-05/0.1667, allocations: 12.92 kB / 0.6913 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000545/0.1673, allocations: 0.5583 MB / 0.6918 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.1673, allocations: 34.55 kB / 0.6918 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1673, allocations: 0 / 0.6918 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0002561/0.1675, allocations: 61.64 kB / 0.6919 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.1676, allocations: 59.34 kB / 0.6919 GB, free: 6.523 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.1677, allocations: 126.6 kB / 0.6921 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.1677, allocations: 25.7 kB / 0.6921 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.32e-05/0.1678, allocations: 88.14 kB / 0.6922 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.773e-05/0.1678, allocations: 7.953 kB / 0.6922 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.234e-05/0.1678, allocations: 17.64 kB / 0.6922 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.168, allocations: 322.8 kB / 0.6925 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.136e-05/0.168, allocations: 7.984 kB / 0.6925 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.106e-05/0.168, allocations: 16 kB / 0.6925 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.652e-05/0.1681, allocations: 24.84 kB / 0.6926 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1681, allocations: 0 / 0.6926 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001162/0.1682, allocations: 49.69 kB / 0.6926 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.1682, allocations: 4 kB / 0.6926 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.1683, allocations: 7.984 kB / 0.6926 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.1683, allocations: 0 / 0.6926 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.701e-05/0.1683, allocations: 8.031 kB / 0.6926 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1683, allocations: 7.938 kB / 0.6926 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.403e-05/0.1684, allocations: 3.953 kB / 0.6926 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.1684, allocations: 7.938 kB / 0.6926 GB, free: 5.77 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 8.407e-05/0.1685, allocations: 113.8 kB / 0.6928 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.1685, allocations: 4 kB / 0.6928 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001689/0.1687, allocations: 61.2 kB / 0.6928 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1687, allocations: 0 / 0.6928 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1687, allocations: 4.031 kB / 0.6928 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.1687, allocations: 0 / 0.6928 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001896/0.1689, allocations: 169.5 kB / 0.693 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1689, allocations: 0 / 0.693 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.042e-05/0.1689, allocations: 4 kB / 0.693 GB, free: 5.348 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1689, allocations: 4 kB / 0.693 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.1689, allocations: 0 / 0.693 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.1689, allocations: 0 / 0.693 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1689, allocations: 7.922 kB / 0.693 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001827/0.1691, allocations: 163.4 kB / 0.6931 GB, free: 5.16 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.79e-05/0.1691, allocations: 81.06 kB / 0.6932 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.1692, allocations: 0 / 0.6932 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.372e-05/0.1692, allocations: 7.984 kB / 0.6932 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.26e-05/0.1693, allocations: 0 / 0.6932 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.1693, allocations: 4 kB / 0.6932 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001163/0.1694, allocations: 100.2 kB / 0.6933 GB, free: 4.953 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.1694, allocations: 0 / 0.6933 GB, free: 4.953 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000225/0.1696, allocations: 12.03 kB / 0.6933 GB, free: 4.941 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.0005377/0.1701, allocations: 0.6929 MB / 0.694 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001334/0.1703, allocations: 24.02 kB / 0.694 GB, free: 4.199 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1703, allocations: 0 / 0.694 GB, free: 4.199 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.79e-05/0.1703, allocations: 15.98 kB / 0.6941 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/0.1705, allocations: 0.6562 kB / 0.6941 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.1719, allocations: 1.321 MB / 0.6954 GB, free: 2.781 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.1722, allocations: 0.6846 MB / 0.696 GB, free: 2.07 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.492e-05/0.1722, allocations: 4 kB / 0.696 GB, free: 2.066 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.276e-05/0.1723, allocations: 15.44 kB / 0.696 GB, free: 2.051 MB / 0.5137 GB Notification: Performance of SimCode: time 3.21e-07/0.1723, allocations: 0 / 0.696 GB, free: 2.051 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02281/0.1951, allocations: 1.499 MB / 0.6975 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.844/8.039, allocations: 10.88 kB / 0.6975 GB, free: 0.6289 MB / 0.5137 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_Splice.fmu > IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.713668415788561] Failed to read output from testmodel.py, exit status != 0: 8.106855246704072 8.127507449 7.958555168 Calling exit ...