Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.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.VectorFunctions,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_VectorFunctions",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.001127/0.001127, allocations: 108 kB / 15.6 MB, free: 132 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.001361/0.001361, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.382/1.382, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7766/0.7766, allocations: 132.2 MB / 422.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001445, allocations: 64.36 kB / 0.5019 GB, free: 8.676 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.1807, allocations: 80.19 MB / 0.5802 GB, free: 8.699 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.002935/0.1836, allocations: 1.599 MB / 0.5817 GB, free: 7.086 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009213/0.1846, allocations: 0.5013 MB / 0.5822 GB, free: 6.578 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.983e-05/0.1847, allocations: 0 / 0.5822 GB, free: 6.578 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.282e-05/0.1848, allocations: 15.86 kB / 0.5823 GB, free: 6.562 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.142e-05/0.1848, allocations: 19.8 kB / 0.5823 GB, free: 6.543 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001822/0.185, allocations: 35.95 kB / 0.5823 GB, free: 6.508 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.1851, allocations: 79.72 kB / 0.5824 GB, free: 6.43 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.1853, allocations: 44.14 kB / 0.5824 GB, free: 6.387 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.095e-05/0.1854, allocations: 39.84 kB / 0.5825 GB, free: 6.348 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.486e-05/0.1854, allocations: 43.78 kB / 0.5825 GB, free: 6.305 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.1854, allocations: 4 kB / 0.5825 GB, free: 6.301 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.974e-05/0.1855, allocations: 12 kB / 0.5825 GB, free: 6.289 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.908e-05/0.1855, allocations: 23.91 kB / 0.5825 GB, free: 6.266 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.432e-05/0.1856, allocations: 35.8 kB / 0.5826 GB, free: 6.23 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.1857, allocations: 91.92 kB / 0.5827 GB, free: 6.141 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.1857, allocations: 0 / 0.5827 GB, free: 6.141 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.1858, allocations: 0 / 0.5827 GB, free: 6.141 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.1858, allocations: 4 kB / 0.5827 GB, free: 6.137 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004914/0.1863, allocations: 407 kB / 0.5831 GB, free: 5.691 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.1863, allocations: 8.031 kB / 0.5831 GB, free: 5.684 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.295e-05/0.1863, allocations: 38.75 kB / 0.5831 GB, free: 5.637 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.863e-05/0.1864, allocations: 8.844 kB / 0.5831 GB, free: 5.629 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.1866, allocations: 200 kB / 0.5833 GB, free: 5.395 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.424e-06/0.1866, allocations: 4.375 kB / 0.5833 GB, free: 5.391 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.1866, allocations: 4.375 kB / 0.5833 GB, free: 5.387 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/0.1868, allocations: 117.8 kB / 0.5834 GB, free: 5.266 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.1868, allocations: 0 / 0.5834 GB, free: 5.266 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.1869, allocations: 0 / 0.5834 GB, free: 5.266 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.136e-06/0.1869, allocations: 0 / 0.5834 GB, free: 5.266 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000225/0.1871, allocations: 95.94 kB / 0.5835 GB, free: 5.172 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005655/0.1877, allocations: 384.5 kB / 0.5839 GB, free: 4.746 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.1878, allocations: 58.55 kB / 0.5839 GB, free: 4.68 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/0.188, allocations: 44.95 kB / 0.584 GB, free: 4.633 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.035e-05/0.188, allocations: 12 kB / 0.584 GB, free: 4.621 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.188, allocations: 34.5 kB / 0.584 GB, free: 4.578 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.1881, allocations: 0 / 0.584 GB, free: 4.578 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004413/0.1885, allocations: 165.5 kB / 0.5842 GB, free: 4.41 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.1886, allocations: 55.34 kB / 0.5842 GB, free: 4.344 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.1887, allocations: 144.1 kB / 0.5844 GB, free: 4.195 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.1887, allocations: 25.7 kB / 0.5844 GB, free: 4.164 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.097e-05/0.1888, allocations: 100 kB / 0.5845 GB, free: 4.062 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.1888, allocations: 19.8 kB / 0.5845 GB, free: 4.043 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-05/0.1889, allocations: 25.7 kB / 0.5845 GB, free: 4.012 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.189, allocations: 318.8 kB / 0.5848 GB, free: 3.691 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.1891, allocations: 39.97 kB / 0.5849 GB, free: 3.652 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.1892, allocations: 44.22 kB / 0.5849 GB, free: 3.609 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002236/0.1895, allocations: 96.86 kB / 0.585 GB, free: 3.512 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1895, allocations: 0 / 0.585 GB, free: 3.512 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002833/0.1898, allocations: 125.5 kB / 0.5851 GB, free: 3.383 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.1898, allocations: 7.938 kB / 0.5851 GB, free: 3.375 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1898, allocations: 0 / 0.5851 GB, free: 3.375 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.1898, allocations: 7.938 kB / 0.5851 GB, free: 3.367 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.19, allocations: 15.98 kB / 0.5852 GB, free: 3.352 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.19, allocations: 4 kB / 0.5852 GB, free: 3.348 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.11e-05/0.1901, allocations: 7.984 kB / 0.5852 GB, free: 3.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.3e-05/0.1901, allocations: 4 kB / 0.5852 GB, free: 3.336 MB / 494.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 (6): * Single equations (assignments): 6 * 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 0.0001071/0.1902, allocations: 126.4 kB / 0.5853 GB, free: 3.203 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.107e-05/0.1903, allocations: 11.89 kB / 0.5853 GB, free: 3.191 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003344/0.1906, allocations: 138.3 kB / 0.5854 GB, free: 3.051 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.1906, allocations: 7.938 kB / 0.5854 GB, free: 3.043 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1906, allocations: 0 / 0.5854 GB, free: 3.043 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.1906, allocations: 0 / 0.5854 GB, free: 3.043 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002398/0.1909, allocations: 213.5 kB / 0.5856 GB, free: 2.785 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.1909, allocations: 0 / 0.5856 GB, free: 2.785 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.191, allocations: 15.98 kB / 0.5857 GB, free: 2.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.191, allocations: 3.938 kB / 0.5857 GB, free: 2.766 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.191, allocations: 8 kB / 0.5857 GB, free: 2.758 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.191, allocations: 8.047 kB / 0.5857 GB, free: 2.75 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.191, allocations: 4 kB / 0.5857 GB, free: 2.746 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003432/0.1914, allocations: 219.4 kB / 0.5859 GB, free: 2.516 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.067e-05/0.1914, allocations: 85.02 kB / 0.586 GB, free: 2.414 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.1915, allocations: 0 / 0.586 GB, free: 2.414 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.855e-05/0.1916, allocations: 15.92 kB / 0.586 GB, free: 2.398 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.617e-05/0.1916, allocations: 7.984 kB / 0.586 GB, free: 2.391 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.1916, allocations: 4 kB / 0.586 GB, free: 2.387 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.186e-05/0.1917, allocations: 101.1 kB / 0.5861 GB, free: 2.289 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1917, allocations: 0 / 0.5861 GB, free: 2.289 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002542/0.192, allocations: 19.91 kB / 0.5861 GB, free: 2.27 MB / 494.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 (6): * Single equations (assignments): 6 * 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.000725/0.1927, allocations: 0.7747 MB / 0.5869 GB, free: 1.469 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002767/0.193, allocations: 99.88 kB / 0.587 GB, free: 1.371 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.193, allocations: 0 / 0.587 GB, free: 1.371 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.1931, allocations: 55.97 kB / 0.587 GB, free: 1.316 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001997/0.1934, allocations: 3.938 kB / 0.587 GB, free: 1.312 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.1953, allocations: 1.598 MB / 0.5886 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.1956, allocations: 0.7041 MB / 0.5893 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001315/0.1958, allocations: 15.92 kB / 0.5893 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.513e-05/0.1958, allocations: 27.42 kB / 0.5893 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.1958, allocations: 0 / 0.5893 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01761/0.2134, allocations: 1.95 MB / 0.5912 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.462/7.676, allocations: 16.62 kB / 0.5912 GB, free: 12.98 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_VectorFunctions.fmu > IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)