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.00107/0.00107, 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.001077/0.001077, allocations: 195.5 kB / 16.53 MB, free: 6.699 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.253/1.253, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8237/0.8237, allocations: 135.1 MB / 425.5 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002121/0.002121, allocations: 64 kB / 0.5054 GB, free: 5.23 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1474, allocations: 80.94 MB / 0.5845 GB, free: 4.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.002378/0.1498, allocations: 1.484 MB / 0.5859 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008991/0.1508, allocations: 0.6297 MB / 0.5865 GB, free: 2.309 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.087e-05/0.1508, allocations: 0 / 0.5865 GB, free: 2.309 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.538e-05/0.1508, allocations: 7.922 kB / 0.5866 GB, free: 2.301 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.396e-05/0.1509, allocations: 7.922 kB / 0.5866 GB, free: 2.293 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002949/0.1512, allocations: 75.73 kB / 0.5866 GB, free: 2.219 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.515e-05/0.1513, allocations: 35.86 kB / 0.5867 GB, free: 2.184 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.296e-05/0.1514, allocations: 19.94 kB / 0.5867 GB, free: 2.164 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.833e-05/0.1514, allocations: 19.91 kB / 0.5867 GB, free: 2.145 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.648e-05/0.1515, allocations: 19.92 kB / 0.5867 GB, free: 2.125 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.1515, allocations: 4 kB / 0.5867 GB, free: 2.121 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001483/0.1517, allocations: 87.92 kB / 0.5868 GB, free: 2.035 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.465e-05/0.1517, allocations: 15.91 kB / 0.5868 GB, free: 2.02 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.236e-05/0.1517, allocations: 11.94 kB / 0.5868 GB, free: 2.008 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001433/0.1519, allocations: 84.06 kB / 0.5869 GB, free: 1.926 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1519, allocations: 3.938 kB / 0.5869 GB, free: 1.922 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1519, allocations: 0 / 0.5869 GB, free: 1.922 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.409e-06/0.1519, allocations: 4 kB / 0.5869 GB, free: 1.918 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.0003635/0.1522, allocations: 363.3 kB / 0.5873 GB, free: 1.516 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.753e-05/0.1523, allocations: 12.02 kB / 0.5873 GB, free: 1.504 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.889e-05/0.1523, allocations: 34.75 kB / 0.5873 GB, free: 1.461 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.705e-05/0.1524, allocations: 4.938 kB / 0.5873 GB, free: 1.457 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.1525, allocations: 172.2 kB / 0.5875 GB, free: 1.25 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.1525, allocations: 4.375 kB / 0.5875 GB, free: 1.246 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.976e-06/0.1525, allocations: 384 / 0.5875 GB, free: 1.246 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.1527, allocations: 65.8 kB / 0.5876 GB, free: 1.176 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.1527, allocations: 0 / 0.5876 GB, free: 1.176 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.1527, allocations: 0 / 0.5876 GB, free: 1.176 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.1527, allocations: 0 / 0.5876 GB, free: 1.176 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.577e-05/0.1528, allocations: 35.91 kB / 0.5876 GB, free: 1.141 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003007/0.1531, allocations: 276.8 kB / 0.5878 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.955e-05/0.1532, allocations: 34.56 kB / 0.5879 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.264e-05/0.1532, allocations: 16.86 kB / 0.5879 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000413/0.1536, allocations: 0.5544 MB / 0.5884 GB, free: 76 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.744e-05/0.1537, allocations: 34.56 kB / 0.5885 GB, free: 32 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1537, allocations: 0 / 0.5885 GB, free: 32 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002258/0.1539, allocations: 69.58 kB / 0.5885 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/0.1539, allocations: 51.41 kB / 0.5886 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.593e-05/0.154, allocations: 117.8 kB / 0.5887 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.154, allocations: 29.7 kB / 0.5887 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.008e-05/0.1541, allocations: 92.08 kB / 0.5888 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.418e-05/0.1541, allocations: 11.83 kB / 0.5888 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/0.1541, allocations: 17.72 kB / 0.5888 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.179e-05/0.1542, allocations: 322.9 kB / 0.5892 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.002e-05/0.1543, allocations: 11.92 kB / 0.5892 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.163e-05/0.1543, allocations: 12 kB / 0.5892 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.895e-05/0.1544, allocations: 24.84 kB / 0.5892 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1544, allocations: 0 / 0.5892 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000109/0.1545, allocations: 57.67 kB / 0.5893 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.1545, allocations: 7.938 kB / 0.5893 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.1546, allocations: 4.094 kB / 0.5893 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.829e-06/0.1546, allocations: 0 / 0.5893 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.811e-05/0.1546, allocations: 4 kB / 0.5893 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.1546, allocations: 0 / 0.5893 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.224e-05/0.1547, allocations: 4 kB / 0.5893 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.1547, allocations: 11.86 kB / 0.5893 GB, free: 15.14 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.739e-05/0.1548, allocations: 113.8 kB / 0.5894 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.453e-05/0.1548, allocations: 3.906 kB / 0.5894 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001418/0.1549, allocations: 65.2 kB / 0.5895 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.155, allocations: 4 kB / 0.5895 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.155, allocations: 0 / 0.5895 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-06/0.155, allocations: 0 / 0.5895 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.1551, allocations: 169.6 kB / 0.5896 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1551, allocations: 0 / 0.5896 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.822e-05/0.1552, allocations: 4 kB / 0.5896 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1552, allocations: 3.984 kB / 0.5896 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.76e-06/0.1552, allocations: 0 / 0.5896 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1552, allocations: 0 / 0.5896 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1552, allocations: 8.031 kB / 0.5896 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001463/0.1553, allocations: 155.3 kB / 0.5898 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.042e-05/0.1554, allocations: 81.09 kB / 0.5899 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.1554, allocations: 7.984 kB / 0.5899 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.429e-05/0.1555, allocations: 4 kB / 0.5899 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.355e-05/0.1555, allocations: 0 / 0.5899 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.1555, allocations: 8.031 kB / 0.5899 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.618e-05/0.1556, allocations: 99.14 kB / 0.59 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.1556, allocations: 0 / 0.59 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002101/0.1558, allocations: 8 kB / 0.59 GB, free: 14.31 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.0004063/0.1562, allocations: 0.6968 MB / 0.5907 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001147/0.1563, allocations: 23.98 kB / 0.5907 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1563, allocations: 0 / 0.5907 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.686e-05/0.1564, allocations: 15.98 kB / 0.5907 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001871/0.1566, allocations: 3.719 kB / 0.5907 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.1577, allocations: 1.316 MB / 0.592 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002201/0.1579, allocations: 0.6846 MB / 0.5927 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.164e-05/0.1579, allocations: 7.938 kB / 0.5927 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.837e-05/0.158, allocations: 11.44 kB / 0.5927 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of SimCode: time 3.3e-07/0.158, allocations: 0 / 0.5927 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01529/0.1733, allocations: 1.454 MB / 0.5941 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.862/8.036, allocations: 8.328 kB / 0.5941 GB, free: 10.04 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)