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.001045/0.001045, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.008906/0.008906, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.357/1.357, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7136/0.7136, allocations: 132.3 MB / 423.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004836/0.0004836, allocations: 12.62 kB / 0.5041 GB, free: 3.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4431/0.4436, allocations: 81.57 MB / 0.5837 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.001517/0.4452, allocations: 1.214 MB / 0.5849 GB, free: 3.156 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009341/0.4462, allocations: 0.6349 MB / 0.5856 GB, free: 2.711 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.535e-05/0.4462, allocations: 0 / 0.5856 GB, free: 2.711 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.712e-05/0.4462, allocations: 5.766 kB / 0.5856 GB, free: 2.707 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.627e-05/0.4463, allocations: 5.234 kB / 0.5856 GB, free: 2.703 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000287/0.4466, allocations: 59.42 kB / 0.5856 GB, free: 2.676 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.606e-05/0.4467, allocations: 34.59 kB / 0.5857 GB, free: 2.66 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.186e-05/0.4468, allocations: 14.77 kB / 0.5857 GB, free: 2.652 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.484e-05/0.4468, allocations: 13.09 kB / 0.5857 GB, free: 2.648 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.41e-05/0.4469, allocations: 15.77 kB / 0.5857 GB, free: 2.641 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.007e-05/0.4469, allocations: 1.844 kB / 0.5857 GB, free: 2.641 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000204/0.4471, allocations: 96.77 kB / 0.5858 GB, free: 2.613 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.365e-05/0.4471, allocations: 8.266 kB / 0.5858 GB, free: 2.609 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.177e-05/0.4472, allocations: 38.69 kB / 0.5858 GB, free: 2.57 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001573/0.4473, allocations: 82.66 kB / 0.5859 GB, free: 2.543 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.4474, allocations: 0 / 0.5859 GB, free: 2.543 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4474, allocations: 0 / 0.5859 GB, free: 2.543 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.4474, allocations: 0.7812 kB / 0.5859 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.0003129/0.4477, allocations: 364 kB / 0.5863 GB, free: 2.164 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.4477, allocations: 9.156 kB / 0.5863 GB, free: 2.164 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.993e-05/0.4478, allocations: 32.8 kB / 0.5863 GB, free: 2.125 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.487e-05/0.4478, allocations: 7.781 kB / 0.5863 GB, free: 2.121 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.916e-05/0.4479, allocations: 176 kB / 0.5865 GB, free: 1.914 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.4479, allocations: 2.984 kB / 0.5865 GB, free: 1.914 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.736e-06/0.4479, allocations: 1.812 kB / 0.5865 GB, free: 1.914 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.448, allocations: 62.48 kB / 0.5865 GB, free: 1.867 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.4481, allocations: 0.75 kB / 0.5865 GB, free: 1.867 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.4481, allocations: 5.25 kB / 0.5865 GB, free: 1.863 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.4481, allocations: 1.375 kB / 0.5865 GB, free: 1.863 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.532e-05/0.4482, allocations: 30.8 kB / 0.5866 GB, free: 1.855 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002857/0.4485, allocations: 279.8 kB / 0.5868 GB, free: 1.566 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.346e-05/0.4486, allocations: 36.8 kB / 0.5869 GB, free: 1.535 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.807e-05/0.4486, allocations: 19.28 kB / 0.5869 GB, free: 1.523 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003091/0.4489, allocations: 0.5546 MB / 0.5874 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.61e-05/0.449, allocations: 39.48 kB / 0.5875 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.449, allocations: 0 / 0.5875 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002351/0.4492, allocations: 68.05 kB / 0.5875 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.094e-05/0.4492, allocations: 56.38 kB / 0.5876 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.278e-05/0.4493, allocations: 123.9 kB / 0.5877 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.352e-06/0.4493, allocations: 25.7 kB / 0.5877 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.591e-05/0.4494, allocations: 92.05 kB / 0.5878 GB, free: 500 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.334e-05/0.4494, allocations: 4.734 kB / 0.5878 GB, free: 496 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.931e-05/0.4494, allocations: 14.84 kB / 0.5878 GB, free: 476 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.049e-05/0.4495, allocations: 321.9 kB / 0.5881 GB, free: 148 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.351e-05/0.4495, allocations: 9.625 kB / 0.5882 GB, free: 148 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.692e-05/0.4496, allocations: 18.36 kB / 0.5882 GB, free: 140 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.068e-05/0.4496, allocations: 32.11 kB / 0.5882 GB, free: 124 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4496, allocations: 0.7031 kB / 0.5882 GB, free: 124 kB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001163/0.4498, allocations: 59.97 kB / 0.5883 GB, free: 84 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.4498, allocations: 7.625 kB / 0.5883 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.4498, allocations: 3.938 kB / 0.5883 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.4498, allocations: 0.7812 kB / 0.5883 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.267e-05/0.4499, allocations: 7.281 kB / 0.5883 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.4499, allocations: 4.656 kB / 0.5883 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.378e-05/0.4499, allocations: 4.438 kB / 0.5883 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.45, allocations: 4.688 kB / 0.5883 GB, free: 72 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.953e-05/0.45, allocations: 114.3 kB / 0.5884 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.494e-05/0.4501, allocations: 6.656 kB / 0.5884 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001595/0.4502, allocations: 69.05 kB / 0.5885 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.4502, allocations: 5.688 kB / 0.5885 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.4502, allocations: 0 / 0.5885 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.4503, allocations: 0.6562 kB / 0.5885 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.4504, allocations: 165.7 kB / 0.5886 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4504, allocations: 0.7031 kB / 0.5886 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.478e-05/0.4505, allocations: 10.88 kB / 0.5887 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.4505, allocations: 0 / 0.5887 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.4505, allocations: 2.094 kB / 0.5887 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.4505, allocations: 0 / 0.5887 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.4505, allocations: 0.8125 kB / 0.5887 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000156/0.4507, allocations: 160.7 kB / 0.5888 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.855e-05/0.4507, allocations: 86.64 kB / 0.5889 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.4507, allocations: 1.062 kB / 0.5889 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.111e-05/0.4508, allocations: 3.969 kB / 0.5889 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.626e-05/0.4508, allocations: 2.188 kB / 0.5889 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.4508, allocations: 4.812 kB / 0.5889 GB, free: 15.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.96e-05/0.4509, allocations: 101.9 kB / 0.589 GB, free: 15.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4509, allocations: 3.938 kB / 0.589 GB, free: 15.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002305/0.4511, allocations: 9.484 kB / 0.589 GB, free: 15.36 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 (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.0004197/0.4516, allocations: 0.7022 MB / 0.5897 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000131/0.4517, allocations: 26.81 kB / 0.5897 GB, free: 14.67 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4517, allocations: 0 / 0.5897 GB, free: 14.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.085e-05/0.4518, allocations: 16.47 kB / 0.5897 GB, free: 14.67 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.452, allocations: 16.69 kB / 0.5898 GB, free: 14.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.4531, allocations: 1.321 MB / 0.591 GB, free: 13.44 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002109/0.4534, allocations: 0.686 MB / 0.5917 GB, free: 12.74 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.496e-05/0.4534, allocations: 2.141 kB / 0.5917 GB, free: 12.74 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.327e-05/0.4534, allocations: 19.81 kB / 0.5917 GB, free: 12.73 MB / 446.1 MB Notification: Performance of SimCode: time 3e-07/0.4534, allocations: 0 / 0.5917 GB, free: 12.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1828/0.6362, allocations: 1.242 MB / 0.5929 GB, free: 12.57 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002162/0.6365, allocations: 172.6 kB / 0.5931 GB, free: 12.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.004/2.641, allocations: 0 / 0.5931 GB, free: 12.32 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/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)