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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.006613/0.006613, allocations: 171.1 kB / 15.11 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7487/0.7487, allocations: 135.2 MB / 151 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.577/1.577, allocations: 223.1 MB / 406.8 MB, free: 3.242 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008738/0.0008737, allocations: 102.8 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003909/0.000391, allocations: 12 kB / 0.5692 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.3714, allocations: 82.32 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1407/0.5121, allocations: 111.6 MB / 0.7585 GB, free: 4.422 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/0.5124, allocations: 79.95 kB / 0.7586 GB, free: 4.344 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005288/0.5177, allocations: 1.711 MB / 0.7603 GB, free: 2.633 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.044e-06/0.5178, allocations: 0 / 0.7603 GB, free: 2.633 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.5178, allocations: 0 / 0.7603 GB, free: 2.633 MB / 0.5261 GB 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.0002827/0.5181, allocations: 332.6 kB / 0.7606 GB, free: 2.262 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.5181, allocations: 8.031 kB / 0.7606 GB, free: 2.254 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.542e-05/0.5182, allocations: 34.56 kB / 0.7606 GB, free: 2.211 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.128e-05/0.5182, allocations: 0 / 0.7606 GB, free: 2.211 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.734e-05/0.5183, allocations: 167 kB / 0.7608 GB, free: 2.008 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.5183, allocations: 3.938 kB / 0.7608 GB, free: 2.004 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.5183, allocations: 7.938 kB / 0.7608 GB, free: 1.996 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.546e-05/0.5184, allocations: 25.7 kB / 0.7608 GB, free: 1.965 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.5184, allocations: 7.969 kB / 0.7608 GB, free: 1.957 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.914e-06/0.5184, allocations: 0 / 0.7608 GB, free: 1.957 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.5184, allocations: 0 / 0.7608 GB, free: 1.957 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.152e-05/0.5185, allocations: 4 kB / 0.7608 GB, free: 1.953 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001433/0.5186, allocations: 153.6 kB / 0.761 GB, free: 1.754 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.747e-05/0.5187, allocations: 18.61 kB / 0.761 GB, free: 1.727 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005738/0.5192, allocations: 0.5622 MB / 0.7615 GB, free: 1.035 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.323e-05/0.5193, allocations: 34.55 kB / 0.7616 GB, free: 0.9922 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.5193, allocations: 0 / 0.7616 GB, free: 0.9922 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001388/0.5195, allocations: 37.8 kB / 0.7616 GB, free: 0.9492 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.5195, allocations: 51.41 kB / 0.7617 GB, free: 0.8867 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.208e-05/0.5195, allocations: 85 kB / 0.7617 GB, free: 0.7969 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.5195, allocations: 25.7 kB / 0.7618 GB, free: 0.7656 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.598e-05/0.5196, allocations: 84.14 kB / 0.7618 GB, free: 0.6797 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.5196, allocations: 7.844 kB / 0.7619 GB, free: 0.6719 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.104e-06/0.5196, allocations: 0 / 0.7619 GB, free: 0.6719 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.5197, allocations: 310.8 kB / 0.7621 GB, free: 368 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.778e-06/0.5198, allocations: 0 / 0.7621 GB, free: 368 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.793e-06/0.5198, allocations: 7.969 kB / 0.7622 GB, free: 360 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.806e-05/0.5198, allocations: 11.98 kB / 0.7622 GB, free: 348 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5198, allocations: 0 / 0.7622 GB, free: 348 kB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.861e-05/0.5199, allocations: 33.66 kB / 0.7622 GB, free: 308 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.5199, allocations: 8 kB / 0.7622 GB, free: 300 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.5199, allocations: 0 / 0.7622 GB, free: 300 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.5199, allocations: 0 / 0.7622 GB, free: 300 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.915e-05/0.52, allocations: 0 / 0.7622 GB, free: 300 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.52, allocations: 0 / 0.7622 GB, free: 300 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.531e-05/0.52, allocations: 4.094 kB / 0.7622 GB, free: 296 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.52, allocations: 4 kB / 0.7622 GB, free: 292 kB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.467e-05/0.5201, allocations: 109.8 kB / 0.7623 GB, free: 172 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.034e-05/0.5201, allocations: 3.953 kB / 0.7623 GB, free: 168 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001161/0.5203, allocations: 44.77 kB / 0.7624 GB, free: 116 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.5203, allocations: 4 kB / 0.7624 GB, free: 112 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.5203, allocations: 3.938 kB / 0.7624 GB, free: 108 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.5203, allocations: 4.031 kB / 0.7624 GB, free: 104 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.5205, allocations: 145.7 kB / 0.7625 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.5205, allocations: 0 / 0.7625 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.91e-05/0.5205, allocations: 4 kB / 0.7625 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.5205, allocations: 3.953 kB / 0.7625 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.5205, allocations: 0 / 0.7625 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.5205, allocations: 0 / 0.7625 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5205, allocations: 0 / 0.7625 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.376e-05/0.5206, allocations: 69.06 kB / 0.7626 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.891e-05/0.5207, allocations: 77.11 kB / 0.7627 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.5207, allocations: 3.953 kB / 0.7627 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.317e-06/0.5207, allocations: 0 / 0.7627 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.571e-05/0.5207, allocations: 0 / 0.7627 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.5207, allocations: 4 kB / 0.7627 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.114e-05/0.5208, allocations: 79.22 kB / 0.7627 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5208, allocations: 0 / 0.7627 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002083/0.521, allocations: 8 kB / 0.7628 GB, free: 15.63 MB / 0.5417 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 (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.0004541/0.5215, allocations: 0.6008 MB / 0.7633 GB, free: 15 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 5.825e-05/0.5215, allocations: 11.92 kB / 0.7634 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.5215, allocations: 0 / 0.7634 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 7.434e-06/0.5215, allocations: 4 kB / 0.7634 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.417e-05/0.5216, allocations: 13.2 kB / 0.7634 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002865/0.5219, allocations: 108.4 kB / 0.7635 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/0.5222, allocations: 0.677 MB / 0.7641 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.433e-05/0.5222, allocations: 4 kB / 0.7641 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.253e-05/0.5222, allocations: 7.438 kB / 0.7641 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of SimCode: time 2.8e-07/0.5222, allocations: 0 / 0.7641 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01133/0.5336, allocations: 0.8036 MB / 0.7649 GB, free: 13.42 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000197/0.5338, allocations: 172.4 kB / 0.7651 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.435/1.969, allocations: 0 / 0.7651 GB, free: 13.18 MB / 0.5417 GB (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)