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.001379/0.001379, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001739/0.001739, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.392/2.392, allocations: 223.2 MB / 239.9 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.209/1.209, allocations: 132.2 MB / 423.2 MB, free: 2.188 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000405/0.0004051, allocations: 9.062 kB / 0.5033 GB, free: 4.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8748/0.8753, allocations: 81.57 MB / 0.583 GB, free: 3.891 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.002614/0.8779, allocations: 1.281 MB / 0.5842 GB, free: 2.957 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.8792, allocations: 486.8 kB / 0.5847 GB, free: 2.625 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.119e-05/0.8793, allocations: 0.9062 kB / 0.5847 GB, free: 2.625 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001283/0.8794, allocations: 13.94 kB / 0.5847 GB, free: 2.613 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.767e-05/0.8795, allocations: 24.02 kB / 0.5847 GB, free: 2.594 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002835/0.8798, allocations: 21.61 kB / 0.5847 GB, free: 2.586 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001547/0.88, allocations: 53.86 kB / 0.5848 GB, free: 2.559 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002266/0.8802, allocations: 31.78 kB / 0.5848 GB, free: 2.547 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001467/0.8804, allocations: 27.81 kB / 0.5848 GB, free: 2.535 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.8805, allocations: 27.92 kB / 0.5849 GB, free: 2.523 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.8805, allocations: 2.469 kB / 0.5849 GB, free: 2.523 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.64e-05/0.8806, allocations: 10.11 kB / 0.5849 GB, free: 2.52 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.334e-05/0.8807, allocations: 16.38 kB / 0.5849 GB, free: 2.512 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.661e-05/0.8807, allocations: 41.92 kB / 0.5849 GB, free: 2.469 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00018/0.8809, allocations: 60.92 kB / 0.585 GB, free: 2.453 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.8809, allocations: 0 / 0.585 GB, free: 2.453 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.8809, allocations: 0.875 kB / 0.585 GB, free: 2.453 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.8809, allocations: 4 kB / 0.585 GB, free: 2.449 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006596/0.8816, allocations: 386.3 kB / 0.5854 GB, free: 2.07 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.42e-05/0.8817, allocations: 9.594 kB / 0.5854 GB, free: 2.07 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.107e-05/0.8818, allocations: 38.44 kB / 0.5854 GB, free: 2.027 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.152e-05/0.8818, allocations: 9.75 kB / 0.5854 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.8821, allocations: 205.2 kB / 0.5856 GB, free: 1.801 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.8821, allocations: 9.625 kB / 0.5856 GB, free: 1.793 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.8821, allocations: 5.25 kB / 0.5856 GB, free: 1.793 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004255/0.8826, allocations: 110.1 kB / 0.5857 GB, free: 1.742 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.8826, allocations: 0.75 kB / 0.5857 GB, free: 1.742 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/0.8826, allocations: 0.8125 kB / 0.5857 GB, free: 1.742 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.8826, allocations: 1.531 kB / 0.5857 GB, free: 1.742 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004557/0.8831, allocations: 114.9 kB / 0.5859 GB, free: 1.715 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008928/0.884, allocations: 387.2 kB / 0.5862 GB, free: 1.398 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002449/0.8843, allocations: 65.25 kB / 0.5863 GB, free: 1.363 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.763e-05/0.8844, allocations: 16.22 kB / 0.5863 GB, free: 1.352 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.8844, allocations: 39.42 kB / 0.5863 GB, free: 1.305 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.482e-06/0.8844, allocations: 0 / 0.5863 GB, free: 1.305 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008094/0.8852, allocations: 183.6 kB / 0.5865 GB, free: 1.238 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.8853, allocations: 55.41 kB / 0.5866 GB, free: 1.172 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.8854, allocations: 129.9 kB / 0.5867 GB, free: 1.066 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.8855, allocations: 26.33 kB / 0.5867 GB, free: 1.035 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.9e-05/0.8855, allocations: 108.6 kB / 0.5868 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.881e-05/0.8856, allocations: 15.73 kB / 0.5868 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.01e-05/0.8856, allocations: 0.6875 kB / 0.5868 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.8857, allocations: 323.9 kB / 0.5871 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/0.8859, allocations: 44.09 kB / 0.5872 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001855/0.8861, allocations: 46.81 kB / 0.5872 GB, free: 0.582 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001966/0.8864, allocations: 49.22 kB / 0.5873 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.8864, allocations: 0 / 0.5873 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004766/0.8869, allocations: 139.4 kB / 0.5874 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.8869, allocations: 5.531 kB / 0.5874 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.8869, allocations: 3.953 kB / 0.5874 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.8869, allocations: 1.406 kB / 0.5874 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002222/0.8872, allocations: 19.88 kB / 0.5874 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.8872, allocations: 0.75 kB / 0.5874 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.8873, allocations: 22.98 kB / 0.5875 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.722e-05/0.8874, allocations: 7.188 kB / 0.5875 GB, free: 0.4922 MB / 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 (6): * Single equations (assignments): 6 * 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.0001149/0.8875, allocations: 121.5 kB / 0.5876 GB, free: 380 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.462e-05/0.8876, allocations: 8.375 kB / 0.5876 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005817/0.8882, allocations: 153.1 kB / 0.5877 GB, free: 304 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.8882, allocations: 3.953 kB / 0.5877 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.8882, allocations: 0.6562 kB / 0.5877 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.8882, allocations: 6.125 kB / 0.5877 GB, free: 296 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003245/0.8885, allocations: 203.1 kB / 0.5879 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.8886, allocations: 0 / 0.5879 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.8887, allocations: 20.98 kB / 0.588 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.8887, allocations: 1.469 kB / 0.588 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.8888, allocations: 1.453 kB / 0.588 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.8888, allocations: 4.844 kB / 0.588 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.217e-06/0.8888, allocations: 7.891 kB / 0.588 GB, free: 72 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005793/0.8894, allocations: 239.6 kB / 0.5882 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.282e-05/0.8895, allocations: 83.5 kB / 0.5883 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.155e-05/0.8895, allocations: 2.031 kB / 0.5883 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/0.8897, allocations: 10.23 kB / 0.5883 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.947e-05/0.8898, allocations: 13.19 kB / 0.5883 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/0.8899, allocations: 8.375 kB / 0.5883 GB, free: 15.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001162/0.89, allocations: 97.38 kB / 0.5884 GB, free: 15.72 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.89, allocations: 0 / 0.5884 GB, free: 15.72 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005/0.8905, allocations: 25 kB / 0.5884 GB, free: 15.71 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 (6): * Single equations (assignments): 6 * 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.001069/0.8916, allocations: 0.7733 MB / 0.5892 GB, free: 15.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004857/0.8921, allocations: 104.5 kB / 0.5893 GB, free: 15 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.8921, allocations: 4 kB / 0.5893 GB, free: 15 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002376/0.8924, allocations: 63.31 kB / 0.5893 GB, free: 14.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.8926, allocations: 8.766 kB / 0.5894 GB, free: 14.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.8948, allocations: 0.7116 MB / 0.5901 GB, free: 14.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000419/0.8952, allocations: 0.7111 MB / 0.5907 GB, free: 13.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000146/0.8953, allocations: 14.25 kB / 0.5908 GB, free: 13.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.217e-05/0.8954, allocations: 25.83 kB / 0.5908 GB, free: 13.8 MB / 446.1 MB Notification: Performance of SimCode: time 8.42e-07/0.8955, allocations: 4 kB / 0.5908 GB, free: 13.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02186/0.9173, allocations: 1.659 MB / 0.5924 GB, free: 13.64 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004736/0.9179, allocations: 169.9 kB / 0.5926 GB, free: 13.39 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.796/3.714, allocations: 0.8125 kB / 0.5926 GB, free: 13.39 MB / 446.1 MB (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/linux/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) Environment - environmentSimulation: