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.001005/0.001005, allocations: 89.97 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.008154/0.008154, allocations: 176.2 kB / 16.27 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.298/1.298, allocations: 223.2 MB / 240.3 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7325/0.7325, allocations: 132.3 MB / 423.8 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000284/0.000284, allocations: 8.812 kB / 0.5041 GB, free: 3.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3514, allocations: 81.58 MB / 0.5837 GB, free: 3.891 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.001307/0.3528, allocations: 1.315 MB / 0.585 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006296/0.3534, allocations: 0.4995 MB / 0.5855 GB, free: 2.574 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.53e-05/0.3535, allocations: 1.406 kB / 0.5855 GB, free: 2.574 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 7.816e-05/0.3536, allocations: 8.984 kB / 0.5855 GB, free: 2.57 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.073e-05/0.3536, allocations: 15.55 kB / 0.5855 GB, free: 2.559 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001658/0.3538, allocations: 30.66 kB / 0.5856 GB, free: 2.543 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.769e-05/0.3539, allocations: 74.77 kB / 0.5856 GB, free: 2.512 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.354, allocations: 43.06 kB / 0.5857 GB, free: 2.492 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.126e-05/0.3541, allocations: 32.41 kB / 0.5857 GB, free: 2.477 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.195e-05/0.3541, allocations: 27.92 kB / 0.5857 GB, free: 2.465 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.3542, allocations: 2.438 kB / 0.5857 GB, free: 2.465 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.923e-05/0.3542, allocations: 7.328 kB / 0.5857 GB, free: 2.465 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.307e-05/0.3542, allocations: 21.06 kB / 0.5858 GB, free: 2.453 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.609e-05/0.3543, allocations: 59.91 kB / 0.5858 GB, free: 2.398 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.3544, allocations: 79.34 kB / 0.5859 GB, free: 2.371 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3544, allocations: 0.8125 kB / 0.5859 GB, free: 2.371 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3544, allocations: 4 kB / 0.5859 GB, free: 2.367 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.386e-06/0.3544, allocations: 0 / 0.5859 GB, free: 2.367 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.0003691/0.3548, allocations: 393.6 kB / 0.5863 GB, free: 1.98 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.3548, allocations: 9.969 kB / 0.5863 GB, free: 1.98 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.139e-05/0.3549, allocations: 39.02 kB / 0.5863 GB, free: 1.938 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.544e-05/0.3549, allocations: 9.875 kB / 0.5863 GB, free: 1.934 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.355, allocations: 198.5 kB / 0.5865 GB, free: 1.719 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.3551, allocations: 7.125 kB / 0.5865 GB, free: 1.715 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.3551, allocations: 4.688 kB / 0.5865 GB, free: 1.715 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002362/0.3553, allocations: 119.1 kB / 0.5867 GB, free: 1.656 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.3553, allocations: 0.9688 kB / 0.5867 GB, free: 1.656 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.3553, allocations: 0.6562 kB / 0.5867 GB, free: 1.656 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3554, allocations: 2.25 kB / 0.5867 GB, free: 1.656 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002422/0.3556, allocations: 115.5 kB / 0.5868 GB, free: 1.629 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000482/0.3561, allocations: 387 kB / 0.5871 GB, free: 1.312 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.3562, allocations: 65.61 kB / 0.5872 GB, free: 1.277 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.3564, allocations: 60.06 kB / 0.5873 GB, free: 1.254 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.3564, allocations: 3.359 kB / 0.5873 GB, free: 1.254 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.561e-05/0.3564, allocations: 31.98 kB / 0.5873 GB, free: 1.215 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.3564, allocations: 0 / 0.5873 GB, free: 1.215 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004389/0.3569, allocations: 186.4 kB / 0.5875 GB, free: 1.145 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.018e-05/0.3569, allocations: 56.88 kB / 0.5875 GB, free: 1.078 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.744e-05/0.357, allocations: 138.5 kB / 0.5877 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.927e-06/0.357, allocations: 29.7 kB / 0.5877 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.233e-05/0.357, allocations: 108 kB / 0.5878 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/0.3571, allocations: 19.7 kB / 0.5878 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.357e-05/0.3571, allocations: 19.53 kB / 0.5878 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.394e-05/0.3571, allocations: 321.2 kB / 0.5881 GB, free: 484 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.3573, allocations: 43.14 kB / 0.5882 GB, free: 476 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.3574, allocations: 48.38 kB / 0.5882 GB, free: 464 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002354/0.3576, allocations: 103.3 kB / 0.5883 GB, free: 432 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.3577, allocations: 0 / 0.5883 GB, free: 432 kB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002859/0.3579, allocations: 135.6 kB / 0.5884 GB, free: 376 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.358, allocations: 5.188 kB / 0.5884 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-06/0.358, allocations: 0 / 0.5884 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.358, allocations: 8.562 kB / 0.5885 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.3581, allocations: 24.39 kB / 0.5885 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.3582, allocations: 1.438 kB / 0.5885 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.415e-05/0.3582, allocations: 10.94 kB / 0.5885 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.136e-05/0.3583, allocations: 3.641 kB / 0.5885 GB, free: 364 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 (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 6.087e-05/0.3583, allocations: 123 kB / 0.5886 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.3584, allocations: 12.16 kB / 0.5886 GB, free: 232 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003258/0.3587, allocations: 147.8 kB / 0.5888 GB, free: 164 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3587, allocations: 9.203 kB / 0.5888 GB, free: 156 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3587, allocations: 5.375 kB / 0.5888 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3587, allocations: 4.688 kB / 0.5888 GB, free: 148 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.3589, allocations: 211.2 kB / 0.589 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3589, allocations: 3.938 kB / 0.589 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.359, allocations: 21.33 kB / 0.589 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.359, allocations: 1.359 kB / 0.589 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.359, allocations: 2.094 kB / 0.589 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.3591, allocations: 7.938 kB / 0.589 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3591, allocations: 1.5 kB / 0.589 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003161/0.3594, allocations: 235.3 kB / 0.5892 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.313e-05/0.3594, allocations: 84.38 kB / 0.5893 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.3595, allocations: 0.7031 kB / 0.5893 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.983e-05/0.3596, allocations: 17.73 kB / 0.5893 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.3596, allocations: 6.906 kB / 0.5893 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.3596, allocations: 3.109 kB / 0.5894 GB, free: 15.65 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.532e-05/0.3597, allocations: 106.2 kB / 0.5895 GB, free: 15.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3597, allocations: 0 / 0.5895 GB, free: 15.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002185/0.3599, allocations: 17.62 kB / 0.5895 GB, free: 15.56 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 (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.0005449/0.3605, allocations: 0.7735 MB / 0.5902 GB, free: 14.88 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002754/0.3607, allocations: 117.5 kB / 0.5903 GB, free: 14.85 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3608, allocations: 1.219 kB / 0.5903 GB, free: 14.85 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.3609, allocations: 57.62 kB / 0.5904 GB, free: 14.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002011/0.3611, allocations: 11.66 kB / 0.5904 GB, free: 14.83 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.3627, allocations: 1.659 MB / 0.592 GB, free: 13.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002051/0.3629, allocations: 0.6992 MB / 0.5927 GB, free: 12.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.298e-05/0.363, allocations: 13.75 kB / 0.5927 GB, free: 12.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.683e-05/0.3631, allocations: 30.19 kB / 0.5928 GB, free: 12.78 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3631, allocations: 0 / 0.5928 GB, free: 12.78 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2803/0.6434, allocations: 1.694 MB / 0.5944 GB, free: 12.59 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001726/0.6436, allocations: 186 kB / 0.5946 GB, free: 12.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.206/2.849, allocations: 0 / 0.5946 GB, free: 12.34 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/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)