Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Functions.Examples.SpliceFunction,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="IDEAS_dev_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.0008246/0.0008246, allocations: 98.27 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.004027/0.004027, allocations: 171.2 kB / 16.27 MB, free: 6.652 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.193/1.193, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8225/0.8225, allocations: 135.3 MB / 426.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003092/0.0003092, allocations: 12.59 kB / 0.5077 GB, free: 4.629 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1305, allocations: 82.3 MB / 0.5881 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0004878/0.131, allocations: 303.1 kB / 0.5884 GB, free: 2.199 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001198/0.1322, allocations: 1.242 MB / 0.5896 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.332e-06/0.1322, allocations: 0 / 0.5896 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.762e-06/0.1322, allocations: 0 / 0.5896 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.786e-06/0.1322, allocations: 0 / 0.5896 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002024/0.1325, allocations: 43.89 kB / 0.5896 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.583e-05/0.1325, allocations: 8 kB / 0.5896 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.629e-05/0.1325, allocations: 0 / 0.5896 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.065e-06/0.1325, allocations: 0 / 0.5896 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.623e-05/0.1326, allocations: 7.984 kB / 0.5896 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.949e-06/0.1326, allocations: 0 / 0.5896 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001693/0.1328, allocations: 95.84 kB / 0.5897 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.303e-06/0.1328, allocations: 3.984 kB / 0.5897 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.844e-05/0.1328, allocations: 25.7 kB / 0.5898 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.382e-05/0.1329, allocations: 51.94 kB / 0.5898 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.1329, allocations: 0 / 0.5898 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.1329, allocations: 0 / 0.5898 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.1329, allocations: 3.938 kB / 0.5898 GB, free: 0.6992 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001866/0.1331, allocations: 323.6 kB / 0.5901 GB, free: 344 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.966e-05/0.1331, allocations: 8.031 kB / 0.5901 GB, free: 336 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.128e-05/0.1332, allocations: 30.75 kB / 0.5902 GB, free: 296 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.221e-05/0.1332, allocations: 4.938 kB / 0.5902 GB, free: 292 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.321e-05/0.1333, allocations: 164.4 kB / 0.5903 GB, free: 88 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.221e-06/0.1333, allocations: 384 / 0.5903 GB, free: 88 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.552e-06/0.1333, allocations: 4.375 kB / 0.5903 GB, free: 84 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.834e-05/0.1333, allocations: 33.81 kB / 0.5904 GB, free: 44 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.407e-06/0.1334, allocations: 7.938 kB / 0.5904 GB, free: 36 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.831e-06/0.1334, allocations: 3.984 kB / 0.5904 GB, free: 32 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.675e-06/0.1334, allocations: 4 kB / 0.5904 GB, free: 28 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.206e-05/0.1334, allocations: 0 / 0.5904 GB, free: 28 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001013/0.1335, allocations: 141.7 kB / 0.5905 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 2.663e-05/0.1335, allocations: 22.61 kB / 0.5905 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.071e-05/0.1335, allocations: 4.859 kB / 0.5905 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004151/0.134, allocations: 0.5623 MB / 0.5911 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.134, allocations: 38.5 kB / 0.5911 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 2.454e-06/0.134, allocations: 0 / 0.5911 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 8.575e-05/0.1341, allocations: 37.64 kB / 0.5912 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.288e-05/0.1341, allocations: 51.41 kB / 0.5912 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.692e-05/0.1342, allocations: 89.86 kB / 0.5913 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.455e-06/0.1342, allocations: 29.64 kB / 0.5913 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.131e-05/0.1342, allocations: 84.25 kB / 0.5914 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.579e-05/0.1342, allocations: 7.906 kB / 0.5914 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.778e-05/0.1342, allocations: 13.72 kB / 0.5914 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.6e-05/0.1343, allocations: 310.8 kB / 0.5917 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.552e-06/0.1343, allocations: 0 / 0.5917 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.008e-06/0.1343, allocations: 0 / 0.5917 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.063e-05/0.1344, allocations: 16.8 kB / 0.5917 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1344, allocations: 0 / 0.5917 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.292e-05/0.1344, allocations: 33.77 kB / 0.5918 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.1344, allocations: 11.94 kB / 0.5918 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.1345, allocations: 3.984 kB / 0.5918 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.052e-06/0.1345, allocations: 3.938 kB / 0.5918 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.722e-05/0.1345, allocations: 0 / 0.5918 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1345, allocations: 4 kB / 0.5918 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.137e-06/0.1345, allocations: 0 / 0.5918 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.885e-06/0.1345, allocations: 0 / 0.5918 GB, free: 14.32 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 (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 4.633e-05/0.1346, allocations: 105.8 kB / 0.5919 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.474e-06/0.1346, allocations: 3.969 kB / 0.5919 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.125e-05/0.1347, allocations: 52.75 kB / 0.5919 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.1347, allocations: 0 / 0.5919 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.1347, allocations: 0 / 0.5919 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-06/0.1347, allocations: 0 / 0.5919 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.627e-05/0.1348, allocations: 141.7 kB / 0.5921 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.1348, allocations: 0 / 0.5921 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.392e-05/0.1348, allocations: 4 kB / 0.5921 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.1348, allocations: 3.938 kB / 0.5921 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.1348, allocations: 8.016 kB / 0.5921 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.1348, allocations: 0 / 0.5921 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1348, allocations: 0 / 0.5921 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.398e-05/0.1349, allocations: 61.08 kB / 0.5922 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.449e-05/0.1349, allocations: 81.33 kB / 0.5922 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.773e-06/0.1349, allocations: 0 / 0.5922 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.031e-05/0.1349, allocations: 3.984 kB / 0.5922 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.578e-06/0.1349, allocations: 12.03 kB / 0.5923 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.1349, allocations: 0 / 0.5923 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.922e-05/0.135, allocations: 75.28 kB / 0.5923 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.135, allocations: 0 / 0.5923 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001683/0.1351, allocations: 4 kB / 0.5923 GB, free: 13.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 (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.0002836/0.1354, allocations: 0.6047 MB / 0.5929 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 4.741e-05/0.1355, allocations: 15.88 kB / 0.5929 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.1355, allocations: 0 / 0.5929 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.194e-06/0.1355, allocations: 4 kB / 0.5929 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001041/0.1356, allocations: 3.938 kB / 0.5929 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001962/0.1358, allocations: 108.3 kB / 0.593 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001666/0.136, allocations: 0.6692 MB / 0.5937 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.909e-05/0.136, allocations: 4.125 kB / 0.5937 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.099e-05/0.136, allocations: 11.44 kB / 0.5937 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.136, allocations: 0 / 0.5937 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.835/1.971, allocations: 0.828 MB / 0.5945 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001956/1.971, allocations: 199.9 kB / 0.5947 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.469/3.44, allocations: 8 kB / 0.5947 GB, free: 11.22 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)