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.001508/0.001508, 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.001754/0.001754, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.384/1.384, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9265/0.9265, allocations: 135.1 MB / 425.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.001261, allocations: 73.17 kB / 0.5055 GB, free: 5.215 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1345, allocations: 80.93 MB / 0.5845 GB, free: 4.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001694/0.1363, allocations: 0.5537 MB / 0.585 GB, free: 3.891 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.1377, allocations: 1.254 MB / 0.5863 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.445e-05/0.1378, allocations: 0 / 0.5863 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.197e-05/0.1378, allocations: 3.938 kB / 0.5863 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.439e-06/0.1378, allocations: 0 / 0.5863 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003314/0.1381, allocations: 59.81 kB / 0.5863 GB, free: 2.559 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.352e-05/0.1382, allocations: 0 / 0.5863 GB, free: 2.559 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.431e-05/0.1382, allocations: 0 / 0.5863 GB, free: 2.559 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.419e-05/0.1382, allocations: 4 kB / 0.5863 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.982e-05/0.1383, allocations: 0 / 0.5863 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.722e-06/0.1383, allocations: 4 kB / 0.5863 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000209/0.1385, allocations: 95.83 kB / 0.5864 GB, free: 2.457 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.664e-06/0.1385, allocations: 0 / 0.5864 GB, free: 2.457 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.718e-05/0.1385, allocations: 8 kB / 0.5864 GB, free: 2.449 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.1387, allocations: 43.94 kB / 0.5865 GB, free: 2.406 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1387, allocations: 3.938 kB / 0.5865 GB, free: 2.402 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1387, allocations: 0 / 0.5865 GB, free: 2.402 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.1387, allocations: 0 / 0.5865 GB, free: 2.402 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.0002707/0.139, allocations: 327.6 kB / 0.5868 GB, free: 2.035 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.139, allocations: 8.031 kB / 0.5868 GB, free: 2.027 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.559e-05/0.139, allocations: 34.75 kB / 0.5868 GB, free: 1.984 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.159e-05/0.1391, allocations: 4.938 kB / 0.5868 GB, free: 1.98 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.82e-05/0.1391, allocations: 160.4 kB / 0.587 GB, free: 1.785 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.427e-06/0.1392, allocations: 384 / 0.587 GB, free: 1.785 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.727e-06/0.1392, allocations: 384 / 0.587 GB, free: 1.785 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.008e-05/0.1393, allocations: 37.81 kB / 0.587 GB, free: 1.742 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.1393, allocations: 4 kB / 0.587 GB, free: 1.738 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.1393, allocations: 3.938 kB / 0.587 GB, free: 1.734 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1393, allocations: 0 / 0.587 GB, free: 1.734 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.808e-05/0.1393, allocations: 4 kB / 0.587 GB, free: 1.73 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001135/0.1394, allocations: 145.7 kB / 0.5872 GB, free: 1.539 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.863e-05/0.1395, allocations: 18.61 kB / 0.5872 GB, free: 1.512 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.554e-05/0.1395, allocations: 4.859 kB / 0.5872 GB, free: 1.504 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005353/0.14, allocations: 0.5623 MB / 0.5877 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.1401, allocations: 38.5 kB / 0.5878 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.1401, allocations: 0 / 0.5878 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001229/0.1402, allocations: 37.64 kB / 0.5878 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.1403, allocations: 51.41 kB / 0.5879 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.058e-05/0.1403, allocations: 89.86 kB / 0.5879 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.1403, allocations: 29.7 kB / 0.588 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.531e-05/0.1403, allocations: 88.11 kB / 0.5881 GB, free: 448 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/0.1404, allocations: 7.844 kB / 0.5881 GB, free: 440 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-05/0.1404, allocations: 17.84 kB / 0.5881 GB, free: 416 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.408e-05/0.1405, allocations: 310.8 kB / 0.5884 GB, free: 96 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.576e-06/0.1405, allocations: 0 / 0.5884 GB, free: 96 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.885e-06/0.1405, allocations: 4 kB / 0.5884 GB, free: 92 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.833e-05/0.1406, allocations: 8.797 kB / 0.5884 GB, free: 80 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1406, allocations: 0 / 0.5884 GB, free: 80 kB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.462e-05/0.1406, allocations: 41.69 kB / 0.5884 GB, free: 32 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.1407, allocations: 15.97 kB / 0.5885 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.1407, allocations: 0 / 0.5885 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.1407, allocations: 0 / 0.5885 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.16e-05/0.1407, allocations: 4 kB / 0.5885 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1407, allocations: 0 / 0.5885 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.251e-05/0.1408, allocations: 3.984 kB / 0.5885 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.1408, allocations: 0 / 0.5885 GB, free: 8 kB / 494.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 7.441e-05/0.1408, allocations: 105.8 kB / 0.5886 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.165e-06/0.1409, allocations: 7.938 kB / 0.5886 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.861e-05/0.1409, allocations: 48.75 kB / 0.5886 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.141, allocations: 0 / 0.5886 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.141, allocations: 0 / 0.5886 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.141, allocations: 0 / 0.5886 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.323e-05/0.1411, allocations: 145.7 kB / 0.5888 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1411, allocations: 0 / 0.5888 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.655e-05/0.1411, allocations: 3.984 kB / 0.5888 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1411, allocations: 3.938 kB / 0.5888 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.1411, allocations: 0 / 0.5888 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.1411, allocations: 8.031 kB / 0.5888 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1411, allocations: 0 / 0.5888 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.336e-05/0.1412, allocations: 57.14 kB / 0.5888 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.721e-05/0.1412, allocations: 85.27 kB / 0.5889 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.1412, allocations: 7.984 kB / 0.5889 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.407e-06/0.1413, allocations: 0 / 0.5889 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.417e-05/0.1413, allocations: 0 / 0.5889 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.1413, allocations: 4.031 kB / 0.5889 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.296e-05/0.1413, allocations: 75.28 kB / 0.589 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1413, allocations: 0 / 0.589 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001882/0.1415, allocations: 8 kB / 0.589 GB, free: 15.36 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.0003655/0.1419, allocations: 0.6007 MB / 0.5896 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.672e-05/0.142, allocations: 7.969 kB / 0.5896 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.142, allocations: 4 kB / 0.5896 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.703e-06/0.142, allocations: 3.938 kB / 0.5896 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001289/0.1421, allocations: 7.938 kB / 0.5896 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002881/0.1424, allocations: 118.5 kB / 0.5897 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002115/0.1426, allocations: 0.6728 MB / 0.5904 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.017e-05/0.1427, allocations: 8.125 kB / 0.5904 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.432e-05/0.1427, allocations: 7.438 kB / 0.5904 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of SimCode: time 3.5e-07/0.1427, allocations: 0 / 0.5904 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01646/0.1592, allocations: 0.9973 MB / 0.5914 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.216/8.375, allocations: 9.562 kB / 0.5914 GB, free: 12.92 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)