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.001014/0.001014, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.006258/0.006258, allocations: 171.7 kB / 16.27 MB, free: 6.648 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.473/1.473, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9478/0.9478, allocations: 135.3 MB / 426.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000334/0.000334, allocations: 9 kB / 0.5077 GB, free: 4.699 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1554, allocations: 82.31 MB / 0.5881 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.001573/0.157, allocations: 1.212 MB / 0.5893 GB, free: 1.328 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.1581, allocations: 0.6243 MB / 0.5899 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.353e-05/0.1582, allocations: 0 / 0.5899 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.655e-05/0.1582, allocations: 0 / 0.5899 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.558e-05/0.1582, allocations: 11.92 kB / 0.5899 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002816/0.1585, allocations: 51.83 kB / 0.5899 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.191e-05/0.1586, allocations: 39.86 kB / 0.59 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.423e-05/0.1587, allocations: 15.98 kB / 0.59 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.73e-05/0.1588, allocations: 15.92 kB / 0.59 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.395e-05/0.1588, allocations: 15.92 kB / 0.59 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.377e-06/0.1589, allocations: 0 / 0.59 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000168/0.159, allocations: 91.91 kB / 0.5901 GB, free: 468 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.511e-05/0.1591, allocations: 11.92 kB / 0.5901 GB, free: 456 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.687e-05/0.1591, allocations: 41.64 kB / 0.5902 GB, free: 408 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.1592, allocations: 76.05 kB / 0.5902 GB, free: 332 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1593, allocations: 0 / 0.5902 GB, free: 332 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1593, allocations: 0 / 0.5902 GB, free: 332 kB / 494.1 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.1593, allocations: 0 / 0.5902 GB, free: 332 kB / 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.0003924/0.1597, allocations: 355.4 kB / 0.5906 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.1597, allocations: 8.031 kB / 0.5906 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.961e-05/0.1598, allocations: 42.75 kB / 0.5906 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.336e-05/0.1598, allocations: 4.844 kB / 0.5906 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.1599, allocations: 188.1 kB / 0.5908 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.1599, allocations: 384 / 0.5908 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.275e-06/0.1599, allocations: 4.375 kB / 0.5908 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.1601, allocations: 57.81 kB / 0.5909 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.1601, allocations: 0 / 0.5909 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.1601, allocations: 0 / 0.5909 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1601, allocations: 0 / 0.5909 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.1602, allocations: 39.97 kB / 0.5909 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003333/0.1606, allocations: 284.7 kB / 0.5912 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.737e-05/0.1607, allocations: 26.58 kB / 0.5912 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.86e-05/0.1607, allocations: 16.91 kB / 0.5912 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004227/0.1612, allocations: 0.5622 MB / 0.5918 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.1612, allocations: 30.56 kB / 0.5918 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.1612, allocations: 0 / 0.5918 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002401/0.1615, allocations: 77.7 kB / 0.5919 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.1615, allocations: 51.41 kB / 0.5919 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.08e-05/0.1616, allocations: 121.8 kB / 0.592 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.1616, allocations: 29.7 kB / 0.5921 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.951e-05/0.1617, allocations: 92.02 kB / 0.5921 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.474e-05/0.1617, allocations: 3.906 kB / 0.5921 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.1617, allocations: 17.72 kB / 0.5922 GB, free: 14 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.115e-05/0.1618, allocations: 322.7 kB / 0.5925 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.466e-05/0.1619, allocations: 16.03 kB / 0.5925 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.63e-05/0.1619, allocations: 11.98 kB / 0.5925 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.313e-05/0.162, allocations: 28.84 kB / 0.5925 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.162, allocations: 3.938 kB / 0.5925 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001229/0.1621, allocations: 61.66 kB / 0.5926 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1622, allocations: 8 kB / 0.5926 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.1622, allocations: 0 / 0.5926 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.1622, allocations: 0 / 0.5926 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.797e-05/0.1622, allocations: 4 kB / 0.5926 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.1623, allocations: 3.984 kB / 0.5926 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.751e-05/0.1623, allocations: 8 kB / 0.5926 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.1623, allocations: 3.938 kB / 0.5926 GB, free: 13.52 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 6.47e-05/0.1624, allocations: 113.9 kB / 0.5927 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.1624, allocations: 3.906 kB / 0.5927 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001609/0.1626, allocations: 73.14 kB / 0.5928 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.1626, allocations: 0 / 0.5928 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1626, allocations: 0 / 0.5928 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1626, allocations: 0 / 0.5928 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.1628, allocations: 169.6 kB / 0.593 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1628, allocations: 4.031 kB / 0.593 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.568e-05/0.1628, allocations: 7.984 kB / 0.593 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.1628, allocations: 0 / 0.593 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.1628, allocations: 0 / 0.593 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1629, allocations: 4 kB / 0.593 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.1629, allocations: 4 kB / 0.593 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.163, allocations: 159.4 kB / 0.5931 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.863e-05/0.1631, allocations: 85.02 kB / 0.5932 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.1631, allocations: 4 kB / 0.5932 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.058e-05/0.1632, allocations: 3.984 kB / 0.5932 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.241e-05/0.1632, allocations: 4 kB / 0.5932 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.1632, allocations: 3.984 kB / 0.5932 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.989e-05/0.1633, allocations: 99.16 kB / 0.5933 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1633, allocations: 0 / 0.5933 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002234/0.1635, allocations: 16.02 kB / 0.5933 GB, free: 12.67 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.0004201/0.1639, allocations: 0.6813 MB / 0.594 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001203/0.1641, allocations: 35.95 kB / 0.594 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.1641, allocations: 0 / 0.594 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.515e-05/0.1641, allocations: 12 kB / 0.594 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.1643, allocations: 19.53 kB / 0.5941 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.1656, allocations: 1.335 MB / 0.5954 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002178/0.1658, allocations: 0.677 MB / 0.596 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.441e-05/0.1658, allocations: 4 kB / 0.596 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.115e-05/0.1659, allocations: 23.36 kB / 0.5961 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of SimCode: time 3.5e-07/0.1659, allocations: 4 kB / 0.5961 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3101/0.476, allocations: 1.256 MB / 0.5973 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000341/0.4764, allocations: 179 kB / 0.5975 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.61/2.087, allocations: 0 / 0.5975 GB, free: 8.371 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_Splice.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe 2>&1)