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.001405/0.001405, allocations: 115.3 kB / 15.34 MB, free: 0.5078 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.001425/0.001425, allocations: 189.5 kB / 16.25 MB, free: 6.586 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.318/1.318, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7016/0.7016, allocations: 132.2 MB / 422.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 62.81 kB / 0.5014 GB, free: 4.109 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3629, allocations: 80.2 MB / 0.5797 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001642/0.3646, allocations: 0.6536 MB / 0.5803 GB, free: 4.156 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.3658, allocations: 1.229 MB / 0.5815 GB, free: 3.25 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.107e-05/0.3658, allocations: 1.125 kB / 0.5815 GB, free: 3.25 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.159e-05/0.3658, allocations: 0 / 0.5815 GB, free: 3.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.038e-06/0.3658, allocations: 0 / 0.5815 GB, free: 3.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002963/0.3661, allocations: 55.7 kB / 0.5816 GB, free: 3.227 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.026e-05/0.3662, allocations: 5.531 kB / 0.5816 GB, free: 3.223 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.189e-05/0.3662, allocations: 2.203 kB / 0.5816 GB, free: 3.223 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.206e-05/0.3662, allocations: 0.8125 kB / 0.5816 GB, free: 3.223 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.954e-05/0.3662, allocations: 5.906 kB / 0.5816 GB, free: 3.219 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.271e-06/0.3662, allocations: 4 kB / 0.5816 GB, free: 3.215 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001971/0.3665, allocations: 97.47 kB / 0.5817 GB, free: 3.188 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.484e-06/0.3665, allocations: 0 / 0.5817 GB, free: 3.188 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.237e-05/0.3665, allocations: 0.8125 kB / 0.5817 GB, free: 3.188 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001083/0.3666, allocations: 47.12 kB / 0.5817 GB, free: 3.176 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.3666, allocations: 0 / 0.5817 GB, free: 3.176 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.3666, allocations: 0 / 0.5817 GB, free: 3.176 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.3666, allocations: 0 / 0.5817 GB, free: 3.176 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.0002077/0.3668, allocations: 328.7 kB / 0.5821 GB, free: 2.816 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.3669, allocations: 15.25 kB / 0.5821 GB, free: 2.812 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.815e-05/0.3669, allocations: 30.75 kB / 0.5821 GB, free: 2.773 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.705e-05/0.3669, allocations: 0.9375 kB / 0.5821 GB, free: 2.773 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.993e-05/0.367, allocations: 166.6 kB / 0.5823 GB, free: 2.574 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.367, allocations: 384 / 0.5823 GB, free: 2.574 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.434e-06/0.367, allocations: 1.375 kB / 0.5823 GB, free: 2.574 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.973e-05/0.3671, allocations: 37.39 kB / 0.5823 GB, free: 2.535 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.3e-06/0.3671, allocations: 3.938 kB / 0.5823 GB, free: 2.531 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.62e-06/0.3671, allocations: 0 / 0.5823 GB, free: 2.531 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/0.3671, allocations: 2.297 kB / 0.5823 GB, free: 2.531 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.472e-05/0.3671, allocations: 5.531 kB / 0.5823 GB, free: 2.527 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.134e-05/0.3672, allocations: 143.9 kB / 0.5824 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.702e-05/0.3672, allocations: 21.08 kB / 0.5825 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.15e-05/0.3672, allocations: 5.703 kB / 0.5825 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003553/0.3676, allocations: 0.5563 MB / 0.583 GB, free: 1.648 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.5e-05/0.3676, allocations: 44.48 kB / 0.5831 GB, free: 1.598 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.3676, allocations: 0 / 0.5831 GB, free: 1.598 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 9.375e-05/0.3677, allocations: 36.34 kB / 0.5831 GB, free: 1.562 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.71e-05/0.3678, allocations: 52.38 kB / 0.5831 GB, free: 1.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.264e-05/0.3678, allocations: 90.66 kB / 0.5832 GB, free: 1.402 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.919e-06/0.3678, allocations: 25.7 kB / 0.5833 GB, free: 1.371 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.615e-06/0.3678, allocations: 80.92 kB / 0.5833 GB, free: 1.289 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.836e-05/0.3678, allocations: 4.844 kB / 0.5833 GB, free: 1.285 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.13e-05/0.3678, allocations: 16.02 kB / 0.5833 GB, free: 1.266 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.442e-05/0.3679, allocations: 316.5 kB / 0.5837 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.346e-06/0.3679, allocations: 0.9375 kB / 0.5837 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.73e-06/0.3679, allocations: 1.828 kB / 0.5837 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.105e-05/0.3679, allocations: 12.08 kB / 0.5837 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3679, allocations: 0 / 0.5837 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.923e-05/0.368, allocations: 33.09 kB / 0.5837 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.368, allocations: 15.36 kB / 0.5837 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.368, allocations: 0 / 0.5837 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.368, allocations: 1.469 kB / 0.5837 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.38e-05/0.3681, allocations: 1.594 kB / 0.5837 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.3681, allocations: 0.75 kB / 0.5837 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.948e-06/0.3681, allocations: 4.594 kB / 0.5837 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.3681, allocations: 1.562 kB / 0.5837 GB, free: 0.8945 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.262e-05/0.3681, allocations: 107.9 kB / 0.5838 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.174e-06/0.3681, allocations: 8.547 kB / 0.5838 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.053e-05/0.3682, allocations: 44.28 kB / 0.5839 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.3682, allocations: 0.6562 kB / 0.5839 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.3682, allocations: 9.141 kB / 0.5839 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-06/0.3682, allocations: 0 / 0.5839 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.215e-05/0.3683, allocations: 145.8 kB / 0.584 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.3683, allocations: 0 / 0.584 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.342e-05/0.3683, allocations: 1.859 kB / 0.584 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.3683, allocations: 5 kB / 0.584 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.3683, allocations: 4.734 kB / 0.584 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3683, allocations: 0.9062 kB / 0.584 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.3683, allocations: 3.938 kB / 0.584 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.399e-05/0.3684, allocations: 62.05 kB / 0.5841 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.171e-05/0.3684, allocations: 83.95 kB / 0.5842 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.276e-06/0.3684, allocations: 1.734 kB / 0.5842 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.927e-06/0.3684, allocations: 1.062 kB / 0.5842 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.446e-06/0.3684, allocations: 4.031 kB / 0.5842 GB, free: 360 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.3684, allocations: 1.734 kB / 0.5842 GB, free: 360 kB / 430.1 MB Notification: Performance of sorting global known variables: time 8.887e-06/0.3685, allocations: 75.28 kB / 0.5843 GB, free: 284 kB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3685, allocations: 0 / 0.5843 GB, free: 284 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001746/0.3686, allocations: 6.172 kB / 0.5843 GB, free: 284 kB / 430.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 (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.000288/0.3689, allocations: 0.6052 MB / 0.5849 GB, free: 15.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.675e-05/0.369, allocations: 8.094 kB / 0.5849 GB, free: 15.67 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.369, allocations: 0 / 0.5849 GB, free: 15.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.174e-06/0.369, allocations: 2.781 kB / 0.5849 GB, free: 15.67 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001149/0.3691, allocations: 1.547 kB / 0.5849 GB, free: 15.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002307/0.3694, allocations: 108.5 kB / 0.585 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001818/0.3696, allocations: 0.6713 MB / 0.5856 GB, free: 14.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.797e-05/0.3696, allocations: 5.25 kB / 0.5856 GB, free: 14.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.386e-05/0.3696, allocations: 8.531 kB / 0.5856 GB, free: 14.83 MB / 446.1 MB Notification: Performance of SimCode: time 1.463e-06/0.3696, allocations: 0 / 0.5856 GB, free: 14.83 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1609/0.5305, allocations: 0.9138 MB / 0.5865 GB, free: 14.61 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002109/0.5308, allocations: 201.4 kB / 0.5867 GB, free: 14.36 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.584/2.115, allocations: 0 / 0.5867 GB, free: 14.36 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/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)