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.001347/0.001347, allocations: 112.5 kB / 15.73 MB, free: 76 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.001437/0.001437, allocations: 193.4 kB / 16.67 MB, free: 6.582 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.444/1.444, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8/0.8, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 59.91 kB / 0.5809 GB, free: 8.055 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4681/0.4699, allocations: 80.21 MB / 0.6592 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.002584/0.4726, allocations: 1.482 MB / 0.6606 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001143/0.4737, allocations: 0.6447 MB / 0.6613 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.986e-05/0.4738, allocations: 1.375 kB / 0.6613 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.094e-05/0.4738, allocations: 4.734 kB / 0.6613 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.242e-05/0.4739, allocations: 6.062 kB / 0.6613 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000403/0.4743, allocations: 80 kB / 0.6614 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.67e-05/0.4744, allocations: 31.08 kB / 0.6614 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.4746, allocations: 21.16 kB / 0.6614 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.763e-05/0.4747, allocations: 20.12 kB / 0.6614 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.51e-05/0.4747, allocations: 19.53 kB / 0.6614 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.4748, allocations: 2.594 kB / 0.6614 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002164/0.475, allocations: 98.47 kB / 0.6615 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.775e-05/0.475, allocations: 12.16 kB / 0.6616 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.078e-05/0.475, allocations: 21.36 kB / 0.6616 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.4752, allocations: 78.8 kB / 0.6616 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.4753, allocations: 1.562 kB / 0.6617 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4753, allocations: 0 / 0.6617 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.4753, allocations: 0 / 0.6617 GB, free: 8.223 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004085/0.4757, allocations: 365 kB / 0.662 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.4757, allocations: 14.41 kB / 0.662 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.759e-05/0.4758, allocations: 32.94 kB / 0.662 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.904e-05/0.4758, allocations: 4.109 kB / 0.662 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.896e-05/0.4759, allocations: 176 kB / 0.6622 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.4759, allocations: 5.656 kB / 0.6622 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.476, allocations: 7 kB / 0.6622 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.4761, allocations: 60.91 kB / 0.6623 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.4762, allocations: 0 / 0.6623 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.4762, allocations: 0 / 0.6623 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.4762, allocations: 1.438 kB / 0.6623 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.959e-05/0.4763, allocations: 24.55 kB / 0.6623 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003338/0.4766, allocations: 279.4 kB / 0.6626 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.743e-05/0.4767, allocations: 34.38 kB / 0.6626 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.099e-05/0.4768, allocations: 17.83 kB / 0.6626 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003807/0.4772, allocations: 0.5532 MB / 0.6632 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.4772, allocations: 35.94 kB / 0.6632 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.173e-06/0.4772, allocations: 0 / 0.6632 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.000258/0.4775, allocations: 67.45 kB / 0.6633 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.4775, allocations: 56.05 kB / 0.6633 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.4776, allocations: 123.7 kB / 0.6634 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.4776, allocations: 27.05 kB / 0.6635 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.577e-05/0.4777, allocations: 91.11 kB / 0.6635 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.4777, allocations: 10.06 kB / 0.6636 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.991e-05/0.4777, allocations: 13.91 kB / 0.6636 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.472e-05/0.4778, allocations: 321.2 kB / 0.6639 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.518e-05/0.4778, allocations: 7.297 kB / 0.6639 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.964e-05/0.4779, allocations: 12.91 kB / 0.6639 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.773e-05/0.478, allocations: 25.28 kB / 0.6639 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.478, allocations: 4.062 kB / 0.6639 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001151/0.4781, allocations: 56.05 kB / 0.664 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.4781, allocations: 5.344 kB / 0.664 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.4781, allocations: 5.094 kB / 0.664 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.4781, allocations: 0.6094 kB / 0.664 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.481e-05/0.4782, allocations: 9.922 kB / 0.664 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.4782, allocations: 0.5625 kB / 0.664 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.599e-05/0.4783, allocations: 7.656 kB / 0.664 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.4783, allocations: 4.594 kB / 0.664 GB, free: 5.746 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 (2): * Single equations (assignments): 2 * 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 5.895e-05/0.4784, allocations: 118 kB / 0.6641 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.4784, allocations: 2.188 kB / 0.6641 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001636/0.4786, allocations: 61.69 kB / 0.6642 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.4786, allocations: 1.672 kB / 0.6642 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.4786, allocations: 0 / 0.6642 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.4786, allocations: 0 / 0.6642 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.4787, allocations: 166 kB / 0.6643 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.4787, allocations: 4.906 kB / 0.6643 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.15e-05/0.4788, allocations: 10.02 kB / 0.6644 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.4788, allocations: 0.8438 kB / 0.6644 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.4788, allocations: 1.094 kB / 0.6644 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.4788, allocations: 0 / 0.6644 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.4788, allocations: 4.797 kB / 0.6644 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001474/0.479, allocations: 157.2 kB / 0.6645 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.578e-05/0.479, allocations: 87.06 kB / 0.6646 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.479, allocations: 0.7969 kB / 0.6646 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.07e-05/0.4791, allocations: 3.188 kB / 0.6646 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.863e-05/0.4791, allocations: 1.781 kB / 0.6646 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.4791, allocations: 1.719 kB / 0.6646 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.761e-05/0.4792, allocations: 100.5 kB / 0.6647 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4792, allocations: 0 / 0.6647 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002271/0.4794, allocations: 13.48 kB / 0.6647 GB, free: 5.031 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 (2): * Single equations (assignments): 2 * 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.0003944/0.4798, allocations: 0.6924 MB / 0.6654 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001485/0.48, allocations: 21.91 kB / 0.6654 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.48, allocations: 0 / 0.6654 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.069e-05/0.4801, allocations: 18.55 kB / 0.6654 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.4803, allocations: 7.219 kB / 0.6654 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.4814, allocations: 1.312 MB / 0.6667 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001516/0.4816, allocations: 0.6816 MB / 0.6674 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.663e-05/0.4816, allocations: 11.17 kB / 0.6674 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.753e-05/0.4817, allocations: 14.55 kB / 0.6674 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of SimCode: time 4.01e-07/0.4817, allocations: 0 / 0.6674 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02288/0.5046, allocations: 1.489 MB / 0.6689 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.937/8.441, allocations: 12.78 kB / 0.6689 GB, free: 1.602 MB / 0.4981 GB (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/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)