Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.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.Functions.Examples.SpliceFunction,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction",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.001393/0.001393, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.001542/0.001542, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.871/1.871, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.103/1.103, allocations: 132.3 MB / 423.2 MB, free: 2.152 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005808/0.0005811, allocations: 8 kB / 0.5033 GB, free: 4.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.676/0.6766, allocations: 81.59 MB / 0.583 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001053/0.6778, allocations: 310.2 kB / 0.5833 GB, free: 3.797 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002239/0.68, allocations: 1.191 MB / 0.5844 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.706e-05/0.68, allocations: 4.562 kB / 0.5844 GB, free: 2.918 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.765e-05/0.6801, allocations: 1.75 kB / 0.5844 GB, free: 2.918 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.442e-06/0.6801, allocations: 0.5938 kB / 0.5844 GB, free: 2.918 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004088/0.6805, allocations: 38.5 kB / 0.5845 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.256e-05/0.6806, allocations: 11.19 kB / 0.5845 GB, free: 2.895 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.874e-05/0.6806, allocations: 0 / 0.5845 GB, free: 2.895 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.422e-05/0.6807, allocations: 1.938 kB / 0.5845 GB, free: 2.895 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.21e-05/0.6808, allocations: 1.188 kB / 0.5845 GB, free: 2.895 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.011e-05/0.6808, allocations: 4 kB / 0.5845 GB, free: 2.891 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003216/0.6811, allocations: 88.59 kB / 0.5846 GB, free: 2.867 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.008e-05/0.6811, allocations: 0.6562 kB / 0.5846 GB, free: 2.867 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.324e-05/0.6812, allocations: 26.83 kB / 0.5846 GB, free: 2.836 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.6813, allocations: 32.73 kB / 0.5846 GB, free: 2.828 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.6813, allocations: 0 / 0.5846 GB, free: 2.828 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.168e-06/0.6813, allocations: 0 / 0.5846 GB, free: 2.828 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.6814, allocations: 4.594 kB / 0.5846 GB, free: 2.824 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003125/0.6817, allocations: 320.3 kB / 0.585 GB, free: 2.473 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/0.6817, allocations: 13.69 kB / 0.585 GB, free: 2.469 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.596e-05/0.6818, allocations: 31.22 kB / 0.585 GB, free: 2.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.245e-05/0.6818, allocations: 0 / 0.585 GB, free: 2.43 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.509e-05/0.6819, allocations: 166.6 kB / 0.5852 GB, free: 2.23 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.682, allocations: 0 / 0.5852 GB, free: 2.23 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.736e-06/0.682, allocations: 0 / 0.5852 GB, free: 2.23 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.6821, allocations: 36.5 kB / 0.5852 GB, free: 2.191 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.6821, allocations: 0.5156 kB / 0.5852 GB, free: 2.191 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.6821, allocations: 4.938 kB / 0.5852 GB, free: 2.188 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.6821, allocations: 0 / 0.5852 GB, free: 2.188 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.13e-05/0.6822, allocations: 9.891 kB / 0.5852 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001373/0.6823, allocations: 152.2 kB / 0.5853 GB, free: 1.984 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.966e-05/0.6824, allocations: 17.55 kB / 0.5854 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005908/0.683, allocations: 0.56 MB / 0.5859 GB, free: 1.301 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.683, allocations: 39.83 kB / 0.5859 GB, free: 1.254 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.6831, allocations: 0 / 0.5859 GB, free: 1.254 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001807/0.6832, allocations: 32.81 kB / 0.586 GB, free: 1.223 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.6833, allocations: 51.41 kB / 0.586 GB, free: 1.16 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.561e-05/0.6833, allocations: 91.27 kB / 0.5861 GB, free: 1.062 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.416e-06/0.6834, allocations: 25.7 kB / 0.5861 GB, free: 1.031 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.829e-05/0.6834, allocations: 84.86 kB / 0.5862 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.734e-05/0.6834, allocations: 5.234 kB / 0.5862 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-06/0.6834, allocations: 0 / 0.5862 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.907e-05/0.6835, allocations: 315.7 kB / 0.5865 GB, free: 0.625 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.582e-05/0.6835, allocations: 2.734 kB / 0.5865 GB, free: 0.625 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.837e-06/0.6836, allocations: 0 / 0.5865 GB, free: 0.625 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.689e-05/0.6836, allocations: 10.81 kB / 0.5865 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.6836, allocations: 0 / 0.5865 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.541e-05/0.6837, allocations: 32.77 kB / 0.5866 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.6837, allocations: 4.688 kB / 0.5866 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.6837, allocations: 1.156 kB / 0.5866 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.6838, allocations: 4.844 kB / 0.5866 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.677e-05/0.6838, allocations: 5.812 kB / 0.5866 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.6838, allocations: 0.7031 kB / 0.5866 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.7e-05/0.6839, allocations: 1.031 kB / 0.5866 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-06/0.6839, allocations: 0 / 0.5866 GB, free: 0.5781 MB / 430.1 MB 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.176e-05/0.684, allocations: 115.6 kB / 0.5867 GB, free: 468 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.037e-06/0.684, allocations: 1.734 kB / 0.5867 GB, free: 468 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001236/0.6841, allocations: 48.55 kB / 0.5867 GB, free: 420 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.6841, allocations: 0 / 0.5867 GB, free: 420 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.6842, allocations: 1.578 kB / 0.5867 GB, free: 420 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.6842, allocations: 0 / 0.5867 GB, free: 420 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.039e-05/0.6843, allocations: 148.8 kB / 0.5869 GB, free: 224 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.6843, allocations: 4.828 kB / 0.5869 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.061e-05/0.6843, allocations: 2.953 kB / 0.5869 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.6843, allocations: 0 / 0.5869 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.6843, allocations: 0 / 0.5869 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.6843, allocations: 1.812 kB / 0.5869 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.6843, allocations: 0 / 0.5869 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.228e-05/0.6844, allocations: 61.22 kB / 0.587 GB, free: 148 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.09e-05/0.6845, allocations: 89.05 kB / 0.587 GB, free: 44 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.6845, allocations: 0.9688 kB / 0.587 GB, free: 44 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.366e-05/0.6845, allocations: 0.7031 kB / 0.587 GB, free: 44 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.738e-05/0.6846, allocations: 5.188 kB / 0.5871 GB, free: 40 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.6846, allocations: 0.75 kB / 0.5871 GB, free: 40 kB / 430.1 MB Notification: Performance of sorting global known variables: time 5.944e-05/0.6846, allocations: 80.34 kB / 0.5871 GB, free: 15.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6847, allocations: 0 / 0.5871 GB, free: 15.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002956/0.685, allocations: 8.719 kB / 0.5871 GB, free: 15.96 MB / 446.1 MB 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000734/0.6857, allocations: 0.5974 MB / 0.5877 GB, free: 15.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.137e-05/0.6858, allocations: 12.34 kB / 0.5877 GB, free: 15.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6858, allocations: 0 / 0.5877 GB, free: 15.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.287e-05/0.6859, allocations: 3.266 kB / 0.5877 GB, free: 15.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000125/0.686, allocations: 3.719 kB / 0.5877 GB, free: 15.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004346/0.6864, allocations: 106 kB / 0.5878 GB, free: 15.22 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000628/0.6871, allocations: 0.6734 MB / 0.5885 GB, free: 14.53 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.448e-05/0.6871, allocations: 2.047 kB / 0.5885 GB, free: 14.53 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.34e-05/0.6872, allocations: 12.31 kB / 0.5885 GB, free: 14.52 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.6872, allocations: 0.9688 kB / 0.5885 GB, free: 14.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0164/0.7036, allocations: 0.8109 MB / 0.5893 GB, free: 14.39 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002714/0.7039, allocations: 178.1 kB / 0.5895 GB, free: 14.16 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.516/3.22, allocations: 0.75 kB / 0.5895 GB, free: 14.16 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) Environment - environmentSimulation: