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.006904/0.006904, allocations: 108.4 kB / 15.74 MB, free: 6.449 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.001216/0.001216, allocations: 197 kB / 16.67 MB, free: 6.355 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7388/0.7388, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 64.42 kB / 0.5809 GB, free: 1.078 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1651, allocations: 80.21 MB / 0.6592 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001722/0.1668, allocations: 0.5751 MB / 0.6598 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001548/0.1684, allocations: 1.251 MB / 0.661 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.982e-05/0.1684, allocations: 0 / 0.661 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.116e-05/0.1685, allocations: 0 / 0.661 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.78e-06/0.1685, allocations: 3.938 kB / 0.661 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003748/0.1689, allocations: 67.75 kB / 0.6611 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.31e-05/0.1689, allocations: 0 / 0.6611 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.989e-05/0.169, allocations: 4 kB / 0.6611 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.323e-05/0.169, allocations: 0 / 0.6611 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.692e-05/0.169, allocations: 0 / 0.6611 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.364e-06/0.1691, allocations: 0 / 0.6611 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002216/0.1693, allocations: 99.89 kB / 0.6612 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.105e-05/0.1693, allocations: 4 kB / 0.6612 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.706e-05/0.1693, allocations: 3.938 kB / 0.6612 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.1695, allocations: 39.94 kB / 0.6612 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1695, allocations: 8 kB / 0.6612 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.677e-06/0.1695, allocations: 4 kB / 0.6612 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.1695, allocations: 0 / 0.6612 GB, free: 11.88 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.0002911/0.1698, allocations: 323.6 kB / 0.6615 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.1698, allocations: 8.031 kB / 0.6616 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.308e-05/0.1699, allocations: 34.75 kB / 0.6616 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.109e-05/0.1699, allocations: 0.9375 kB / 0.6616 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.85e-05/0.17, allocations: 164.3 kB / 0.6617 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.17, allocations: 384 / 0.6617 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.614e-06/0.17, allocations: 384 / 0.6617 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.76e-05/0.1701, allocations: 41.81 kB / 0.6618 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.1701, allocations: 0 / 0.6618 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.113e-06/0.1701, allocations: 0 / 0.6618 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1701, allocations: 0 / 0.6618 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.237e-05/0.1702, allocations: 4 kB / 0.6618 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001365/0.1703, allocations: 145.7 kB / 0.6619 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.926e-05/0.1704, allocations: 18.52 kB / 0.6619 GB, free: 11 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.77e-05/0.1704, allocations: 8.859 kB / 0.662 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000573/0.171, allocations: 0.5623 MB / 0.6625 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.171, allocations: 38.5 kB / 0.6625 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.183e-06/0.171, allocations: 0 / 0.6625 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001371/0.1712, allocations: 29.7 kB / 0.6626 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.1712, allocations: 51.53 kB / 0.6626 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.063e-05/0.1712, allocations: 101.8 kB / 0.6627 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.1713, allocations: 29.64 kB / 0.6627 GB, free: 10 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.176e-05/0.1713, allocations: 84.08 kB / 0.6628 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.1713, allocations: 0 / 0.6628 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.619e-05/0.1713, allocations: 13.72 kB / 0.6628 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.1715, allocations: 310.8 kB / 0.6631 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.188e-06/0.1715, allocations: 0 / 0.6631 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.796e-05/0.1715, allocations: 4 kB / 0.6631 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.098e-05/0.1715, allocations: 16.86 kB / 0.6632 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.1715, allocations: 4 kB / 0.6632 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.329e-05/0.1716, allocations: 33.69 kB / 0.6632 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.1716, allocations: 9.812 kB / 0.6632 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1716, allocations: 0 / 0.6632 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.1717, allocations: 0 / 0.6632 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.809e-05/0.1717, allocations: 7.938 kB / 0.6632 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.1717, allocations: 0 / 0.6632 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.222e-05/0.1717, allocations: 0 / 0.6632 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.1717, allocations: 4.031 kB / 0.6632 GB, free: 9.5 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 6.269e-05/0.1718, allocations: 109.8 kB / 0.6633 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.888e-06/0.1718, allocations: 7.922 kB / 0.6633 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.929e-05/0.1719, allocations: 44.72 kB / 0.6634 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.1719, allocations: 0 / 0.6634 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.1719, allocations: 4 kB / 0.6634 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.172, allocations: 32 / 0.6634 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.427e-05/0.172, allocations: 153.7 kB / 0.6635 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1721, allocations: 0 / 0.6635 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.34e-05/0.1721, allocations: 3.984 kB / 0.6635 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.1721, allocations: 3.938 kB / 0.6635 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-06/0.1721, allocations: 4 kB / 0.6635 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1721, allocations: 0 / 0.6635 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.1721, allocations: 3.938 kB / 0.6635 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.786e-05/0.1722, allocations: 57.14 kB / 0.6636 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.696e-05/0.1722, allocations: 91.84 kB / 0.6637 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.979e-06/0.1722, allocations: 0 / 0.6637 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.167e-06/0.1723, allocations: 0 / 0.6637 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.048e-05/0.1723, allocations: 0 / 0.6637 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.1723, allocations: 0 / 0.6637 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.9e-05/0.1723, allocations: 79.22 kB / 0.6637 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1723, allocations: 0 / 0.6637 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001985/0.1725, allocations: 8 kB / 0.6638 GB, free: 8.836 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.0003889/0.1729, allocations: 0.6046 MB / 0.6643 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.391e-05/0.173, allocations: 0 / 0.6643 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.173, allocations: 4 kB / 0.6644 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.927e-06/0.173, allocations: 4 kB / 0.6644 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001304/0.1732, allocations: 160 / 0.6644 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003312/0.1735, allocations: 114.6 kB / 0.6645 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.1738, allocations: 0.669 MB / 0.6651 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.977e-05/0.1739, allocations: 7.938 kB / 0.6651 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.546e-05/0.1739, allocations: 11.38 kB / 0.6651 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of SimCode: time 2.9e-07/0.1739, allocations: 0 / 0.6651 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0173/0.1912, allocations: 1.018 MB / 0.6661 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.342/7.534, allocations: 4.656 kB / 0.6661 GB, free: 6.414 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)