Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.Splice.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.Examples.Splice,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Splice,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Splice",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.001207/0.001207, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001489/0.001489, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 223.3 MB / 240 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7765/0.7765, allocations: 132.3 MB / 423.4 MB, free: 2.039 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003237/0.0003237, allocations: 8.219 kB / 0.5035 GB, free: 4.145 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4653/0.4656, allocations: 81.57 MB / 0.5831 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.001541/0.4672, allocations: 1.201 MB / 0.5843 GB, free: 3.121 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009255/0.4681, allocations: 0.5977 MB / 0.5849 GB, free: 2.699 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.071e-05/0.4682, allocations: 0.8125 kB / 0.5849 GB, free: 2.699 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.702e-05/0.4682, allocations: 4.734 kB / 0.5849 GB, free: 2.695 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.95e-05/0.4683, allocations: 6.703 kB / 0.5849 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003153/0.4686, allocations: 51.41 kB / 0.585 GB, free: 2.668 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.794e-05/0.4687, allocations: 36.36 kB / 0.585 GB, free: 2.648 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.444e-05/0.4688, allocations: 15.88 kB / 0.585 GB, free: 2.641 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.216e-05/0.4689, allocations: 7.781 kB / 0.585 GB, free: 2.641 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.891e-05/0.4689, allocations: 15.09 kB / 0.585 GB, free: 2.633 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.469, allocations: 5.094 kB / 0.585 GB, free: 2.629 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001988/0.4692, allocations: 96.66 kB / 0.5851 GB, free: 2.602 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.284e-05/0.4692, allocations: 2.5 kB / 0.5851 GB, free: 2.602 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.294e-05/0.4692, allocations: 31.7 kB / 0.5852 GB, free: 2.566 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.4694, allocations: 59.5 kB / 0.5852 GB, free: 2.551 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.4694, allocations: 4 kB / 0.5852 GB, free: 2.547 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4694, allocations: 4 kB / 0.5852 GB, free: 2.543 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.4694, allocations: 0 / 0.5852 GB, free: 2.543 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003749/0.4698, allocations: 352 kB / 0.5856 GB, free: 2.176 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.4698, allocations: 9.797 kB / 0.5856 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.138e-05/0.4699, allocations: 36.19 kB / 0.5856 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.521e-05/0.4699, allocations: 3.062 kB / 0.5856 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.975e-05/0.47, allocations: 167.9 kB / 0.5858 GB, free: 1.934 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.47, allocations: 0.875 kB / 0.5858 GB, free: 1.934 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.47, allocations: 6.125 kB / 0.5858 GB, free: 1.93 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.4702, allocations: 54.88 kB / 0.5858 GB, free: 1.891 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.4702, allocations: 0 / 0.5858 GB, free: 1.891 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.4702, allocations: 0 / 0.5858 GB, free: 1.891 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.4702, allocations: 1.281 kB / 0.5858 GB, free: 1.891 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.4704, allocations: 35.89 kB / 0.5859 GB, free: 1.879 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003914/0.4708, allocations: 291.3 kB / 0.5861 GB, free: 1.578 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.484e-05/0.4709, allocations: 32.41 kB / 0.5862 GB, free: 1.551 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.299e-05/0.4709, allocations: 27.56 kB / 0.5862 GB, free: 1.531 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003949/0.4713, allocations: 0.5576 MB / 0.5867 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.4714, allocations: 32.05 kB / 0.5868 GB, free: 0.832 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.4714, allocations: 0 / 0.5868 GB, free: 0.832 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002952/0.4717, allocations: 76.83 kB / 0.5868 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.4717, allocations: 51.41 kB / 0.5869 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.962e-05/0.4718, allocations: 124.6 kB / 0.587 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.4718, allocations: 25.7 kB / 0.587 GB, free: 0.582 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.013e-05/0.4719, allocations: 89.23 kB / 0.5871 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.819e-05/0.4719, allocations: 3.906 kB / 0.5871 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-06/0.4719, allocations: 4 kB / 0.5871 GB, free: 500 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.951e-05/0.472, allocations: 314.4 kB / 0.5874 GB, free: 180 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.457e-05/0.472, allocations: 17.89 kB / 0.5875 GB, free: 172 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.484e-05/0.4721, allocations: 13.16 kB / 0.5875 GB, free: 168 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.768e-05/0.4721, allocations: 14.22 kB / 0.5875 GB, free: 164 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4721, allocations: 0.8438 kB / 0.5875 GB, free: 164 kB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001214/0.4723, allocations: 59.5 kB / 0.5875 GB, free: 124 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.4723, allocations: 7.328 kB / 0.5875 GB, free: 124 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.4723, allocations: 1.312 kB / 0.5875 GB, free: 124 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.4723, allocations: 4.094 kB / 0.5875 GB, free: 120 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.457e-05/0.4724, allocations: 11.73 kB / 0.5876 GB, free: 116 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.4724, allocations: 4.641 kB / 0.5876 GB, free: 112 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.571e-05/0.4725, allocations: 3.625 kB / 0.5876 GB, free: 112 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.4725, allocations: 1.641 kB / 0.5876 GB, free: 112 kB / 430.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 (2): * Single equations (assignments): 2 * 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 0.0001246/0.4726, allocations: 110.1 kB / 0.5877 GB, free: 16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.4726, allocations: 1.875 kB / 0.5877 GB, free: 16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002016/0.4728, allocations: 74.66 kB / 0.5877 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.4729, allocations: 0 / 0.5877 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.4729, allocations: 5.219 kB / 0.5877 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.4729, allocations: 0 / 0.5877 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001907/0.4731, allocations: 173.1 kB / 0.5879 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4731, allocations: 0.9062 kB / 0.5879 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.863e-05/0.4731, allocations: 6.984 kB / 0.5879 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.4732, allocations: 4.875 kB / 0.5879 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.4732, allocations: 4.734 kB / 0.5879 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.4732, allocations: 0.5 kB / 0.5879 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4732, allocations: 0.7812 kB / 0.5879 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001846/0.4734, allocations: 160.3 kB / 0.5881 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4e-05/0.4734, allocations: 83.14 kB / 0.5882 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.4734, allocations: 2.078 kB / 0.5882 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.135e-05/0.4735, allocations: 6.109 kB / 0.5882 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/0.4736, allocations: 6.812 kB / 0.5882 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.4736, allocations: 1.219 kB / 0.5882 GB, free: 15.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.882e-05/0.4736, allocations: 99.52 kB / 0.5883 GB, free: 15.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4736, allocations: 0.9375 kB / 0.5883 GB, free: 15.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002336/0.4739, allocations: 16.67 kB / 0.5883 GB, free: 15.39 MB / 446.1 MB 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 (2): * Single equations (assignments): 2 * 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.0004904/0.4744, allocations: 0.6916 MB / 0.589 GB, free: 14.72 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001283/0.4745, allocations: 25.09 kB / 0.589 GB, free: 14.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4745, allocations: 1.219 kB / 0.589 GB, free: 14.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.742e-05/0.4746, allocations: 16.75 kB / 0.589 GB, free: 14.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.4748, allocations: 6.391 kB / 0.589 GB, free: 14.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008087/0.4756, allocations: 470.9 kB / 0.5895 GB, free: 14.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.4759, allocations: 0.682 MB / 0.5901 GB, free: 13.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.547e-05/0.4759, allocations: 7.703 kB / 0.5901 GB, free: 13.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.676e-05/0.476, allocations: 14.61 kB / 0.5902 GB, free: 13.62 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.476, allocations: 0 / 0.5902 GB, free: 13.62 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01113/0.4871, allocations: 1.242 MB / 0.5914 GB, free: 13.47 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001565/0.4873, allocations: 168.9 kB / 0.5915 GB, free: 13.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.703/2.19, allocations: 0.5625 kB / 0.5915 GB, free: 13.23 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_Splice.fmu > IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe 2>&1) Environment - environmentSimulation: