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.005524/0.005524, allocations: 101 kB / 15.73 MB, free: 6.059 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.001325/0.001325, allocations: 193.8 kB / 16.67 MB, free: 5.969 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8334/0.8334, allocations: 132.2 MB / 422.7 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001817/0.001817, allocations: 74.11 kB / 0.5809 GB, free: 24.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1433, allocations: 80.22 MB / 0.6592 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001534/0.1449, allocations: 0.572 MB / 0.6598 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001553/0.1464, allocations: 1.247 MB / 0.661 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.549e-05/0.1465, allocations: 0 / 0.661 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.061e-05/0.1465, allocations: 0 / 0.661 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.749e-06/0.1465, allocations: 4 kB / 0.661 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003194/0.1468, allocations: 63.75 kB / 0.6611 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.91e-05/0.1469, allocations: 4 kB / 0.6611 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.534e-05/0.1469, allocations: 4 kB / 0.6611 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.152e-05/0.1469, allocations: 0 / 0.6611 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.363e-05/0.147, allocations: 0 / 0.6611 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.344e-06/0.147, allocations: 0 / 0.6611 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002264/0.1472, allocations: 95.89 kB / 0.6612 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.586e-06/0.1472, allocations: 0 / 0.6612 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.961e-05/0.1473, allocations: 0 / 0.6612 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.1474, allocations: 56.09 kB / 0.6612 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1474, allocations: 4 kB / 0.6612 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1474, allocations: 0 / 0.6612 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.1474, allocations: 0 / 0.6612 GB, free: 8.66 MB / 0.4981 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.0003068/0.1477, allocations: 319.5 kB / 0.6615 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.1478, allocations: 12.03 kB / 0.6616 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.039e-05/0.1478, allocations: 34.75 kB / 0.6616 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.592e-05/0.1478, allocations: 0.9375 kB / 0.6616 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.148, allocations: 172.3 kB / 0.6618 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.362e-06/0.148, allocations: 4.375 kB / 0.6618 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.138e-06/0.148, allocations: 384 / 0.6618 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.366e-05/0.1481, allocations: 37.81 kB / 0.6618 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.1481, allocations: 0 / 0.6618 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-06/0.1481, allocations: 0 / 0.6618 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.1481, allocations: 0 / 0.6618 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.727e-05/0.1481, allocations: 0 / 0.6618 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001483/0.1483, allocations: 145.7 kB / 0.6619 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.267e-05/0.1483, allocations: 30.5 kB / 0.662 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.473e-05/0.1484, allocations: 4.859 kB / 0.662 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005516/0.1489, allocations: 0.5584 MB / 0.6625 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.149, allocations: 38.5 kB / 0.6625 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.149, allocations: 0 / 0.6625 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001149/0.1491, allocations: 37.8 kB / 0.6626 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.1491, allocations: 51.41 kB / 0.6626 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.383e-05/0.1492, allocations: 89.86 kB / 0.6627 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.1492, allocations: 29.64 kB / 0.6627 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.094e-05/0.1492, allocations: 80.14 kB / 0.6628 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.1493, allocations: 19.86 kB / 0.6628 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.741e-05/0.1493, allocations: 9.719 kB / 0.6629 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.1494, allocations: 318.8 kB / 0.6632 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.074e-05/0.1494, allocations: 4.031 kB / 0.6632 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.47e-06/0.1495, allocations: 4 kB / 0.6632 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.306e-05/0.1495, allocations: 8.859 kB / 0.6632 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1495, allocations: 0 / 0.6632 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.104e-05/0.1495, allocations: 29.7 kB / 0.6632 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.1496, allocations: 7.938 kB / 0.6632 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.1496, allocations: 7.969 kB / 0.6632 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.1496, allocations: 4 kB / 0.6632 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.837e-05/0.1496, allocations: 3.938 kB / 0.6632 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.1496, allocations: 4.094 kB / 0.6632 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.021e-05/0.1497, allocations: 0 / 0.6632 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.077e-06/0.1497, allocations: 0 / 0.6632 GB, free: 6.262 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 7.415e-05/0.1497, allocations: 109.8 kB / 0.6633 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.011e-05/0.1498, allocations: 7.938 kB / 0.6633 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.683e-05/0.1499, allocations: 36.81 kB / 0.6634 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.1499, allocations: 32 / 0.6634 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1499, allocations: 4 kB / 0.6634 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.1499, allocations: 4 kB / 0.6634 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.15, allocations: 141.7 kB / 0.6635 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.15, allocations: 0 / 0.6635 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.739e-05/0.15, allocations: 7.938 kB / 0.6635 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.321e-06/0.15, allocations: 11.92 kB / 0.6635 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.538e-06/0.15, allocations: 0 / 0.6635 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.15, allocations: 0 / 0.6635 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.15, allocations: 3.938 kB / 0.6635 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.052e-05/0.1501, allocations: 57.14 kB / 0.6636 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.094e-05/0.1502, allocations: 85.05 kB / 0.6637 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.805e-06/0.1502, allocations: 0 / 0.6637 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.126e-05/0.1502, allocations: 3.984 kB / 0.6637 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.209e-05/0.1502, allocations: 0 / 0.6637 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-06/0.1502, allocations: 0 / 0.6637 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.551e-05/0.1503, allocations: 75.28 kB / 0.6637 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1503, allocations: 0 / 0.6637 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001835/0.1505, allocations: 12.03 kB / 0.6638 GB, free: 5.605 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.000407/0.1509, allocations: 0.6084 MB / 0.6644 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.599e-05/0.1509, allocations: 4 kB / 0.6644 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.151, allocations: 0 / 0.6644 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.803e-06/0.151, allocations: 4.094 kB / 0.6644 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001219/0.1511, allocations: 4 kB / 0.6644 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002533/0.1513, allocations: 113.7 kB / 0.6645 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.1516, allocations: 0.6729 MB / 0.6651 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.571e-05/0.1517, allocations: 3.938 kB / 0.6651 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.384e-05/0.1517, allocations: 7.438 kB / 0.6651 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1517, allocations: 0 / 0.6651 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2571/0.4088, allocations: 1.017 MB / 0.6661 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.014/8.423, allocations: 8.797 kB / 0.6661 GB, free: 3.172 MB / 0.4981 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/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)