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.0008688/0.0008688, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009243/0.0009243, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 223.2 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7493/0.7493, allocations: 132.3 MB / 423.4 MB, free: 2.062 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003208/0.0003208, allocations: 10.19 kB / 0.5035 GB, free: 4.121 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4643/0.4647, allocations: 81.57 MB / 0.5831 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.001604/0.4663, allocations: 1.291 MB / 0.5844 GB, free: 3.055 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007462/0.4671, allocations: 494.3 kB / 0.5849 GB, free: 2.711 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.059e-05/0.4671, allocations: 4.656 kB / 0.5849 GB, free: 2.707 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.803e-05/0.4672, allocations: 7.125 kB / 0.5849 GB, free: 2.703 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.219e-05/0.4673, allocations: 11.14 kB / 0.5849 GB, free: 2.695 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002148/0.4675, allocations: 31.31 kB / 0.5849 GB, free: 2.68 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.4676, allocations: 74.36 kB / 0.585 GB, free: 2.645 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.4678, allocations: 32.22 kB / 0.585 GB, free: 2.633 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.923e-05/0.4679, allocations: 24.12 kB / 0.5851 GB, free: 2.625 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.854e-05/0.468, allocations: 40.12 kB / 0.5851 GB, free: 2.602 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.468, allocations: 2.031 kB / 0.5851 GB, free: 2.602 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.286e-05/0.468, allocations: 7.625 kB / 0.5851 GB, free: 2.602 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.451e-05/0.4681, allocations: 19.89 kB / 0.5851 GB, free: 2.59 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.5e-05/0.4681, allocations: 38.42 kB / 0.5852 GB, free: 2.551 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.4682, allocations: 56.78 kB / 0.5852 GB, free: 2.539 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.4683, allocations: 0.6562 kB / 0.5852 GB, free: 2.539 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4683, allocations: 0 / 0.5852 GB, free: 2.539 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.4683, allocations: 0 / 0.5852 GB, free: 2.539 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.0004572/0.4687, allocations: 394.1 kB / 0.5856 GB, free: 2.152 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.4688, allocations: 9.531 kB / 0.5856 GB, free: 2.152 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.618e-05/0.4688, allocations: 39.05 kB / 0.5856 GB, free: 2.109 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.031e-05/0.4689, allocations: 16.61 kB / 0.5857 GB, free: 2.098 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.469, allocations: 189.9 kB / 0.5858 GB, free: 1.891 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.469, allocations: 7.312 kB / 0.5858 GB, free: 1.887 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.4691, allocations: 7.281 kB / 0.5858 GB, free: 1.883 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002656/0.4693, allocations: 111 kB / 0.586 GB, free: 1.832 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.4694, allocations: 0.7812 kB / 0.586 GB, free: 1.832 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.4694, allocations: 4.781 kB / 0.586 GB, free: 1.828 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.4694, allocations: 5.125 kB / 0.586 GB, free: 1.824 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002472/0.4696, allocations: 112.4 kB / 0.5861 GB, free: 1.801 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005954/0.4702, allocations: 386.8 kB / 0.5864 GB, free: 1.484 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.4704, allocations: 61.64 kB / 0.5865 GB, free: 1.453 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001282/0.4705, allocations: 63.05 kB / 0.5866 GB, free: 1.426 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.518e-05/0.4706, allocations: 8.281 kB / 0.5866 GB, free: 1.422 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.4706, allocations: 35.2 kB / 0.5866 GB, free: 1.379 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.4706, allocations: 0.8438 kB / 0.5866 GB, free: 1.379 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005197/0.4712, allocations: 182.2 kB / 0.5868 GB, free: 1.312 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.4712, allocations: 56.75 kB / 0.5868 GB, free: 1.246 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.4713, allocations: 126.8 kB / 0.5869 GB, free: 1.141 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.4713, allocations: 26.86 kB / 0.587 GB, free: 1.109 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.054e-05/0.4714, allocations: 108.2 kB / 0.5871 GB, free: 1.008 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.4714, allocations: 20.03 kB / 0.5871 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-06/0.4714, allocations: 0 / 0.5871 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.352e-05/0.4715, allocations: 319.8 kB / 0.5874 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.4716, allocations: 43.72 kB / 0.5874 GB, free: 0.668 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.4718, allocations: 52.11 kB / 0.5875 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.4719, allocations: 48.86 kB / 0.5875 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.4719, allocations: 0 / 0.5875 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002915/0.4722, allocations: 142.9 kB / 0.5877 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.4722, allocations: 7.188 kB / 0.5877 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.4722, allocations: 0.6562 kB / 0.5877 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.4723, allocations: 1.75 kB / 0.5877 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.4724, allocations: 20.36 kB / 0.5877 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.4724, allocations: 1.25 kB / 0.5877 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.499e-05/0.4725, allocations: 25.84 kB / 0.5877 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.897e-05/0.4726, allocations: 3.922 kB / 0.5877 GB, free: 0.5625 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 8.108e-05/0.4726, allocations: 119.2 kB / 0.5878 GB, free: 456 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.157e-05/0.4727, allocations: 11.39 kB / 0.5879 GB, free: 448 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003812/0.4731, allocations: 160.4 kB / 0.588 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.4731, allocations: 1.375 kB / 0.588 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4731, allocations: 0 / 0.588 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.4731, allocations: 0.7031 kB / 0.588 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002049/0.4733, allocations: 199.7 kB / 0.5882 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.4733, allocations: 5.5 kB / 0.5882 GB, free: 156 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.4734, allocations: 24.56 kB / 0.5882 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4735, allocations: 5.281 kB / 0.5882 GB, free: 148 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.4735, allocations: 4.469 kB / 0.5882 GB, free: 144 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.4735, allocations: 1.594 kB / 0.5882 GB, free: 144 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.4735, allocations: 0.5 kB / 0.5882 GB, free: 144 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003646/0.4739, allocations: 243 kB / 0.5885 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.645e-05/0.4739, allocations: 84.31 kB / 0.5886 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.474, allocations: 1.828 kB / 0.5886 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.4741, allocations: 13.39 kB / 0.5886 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.682e-05/0.4741, allocations: 10.64 kB / 0.5886 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.4741, allocations: 2.844 kB / 0.5886 GB, free: 15.87 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.417e-05/0.4742, allocations: 101.6 kB / 0.5887 GB, free: 15.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4742, allocations: 0 / 0.5887 GB, free: 15.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002471/0.4745, allocations: 26.2 kB / 0.5887 GB, free: 15.77 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.0006904/0.4752, allocations: 0.7722 MB / 0.5895 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003172/0.4755, allocations: 108.6 kB / 0.5896 GB, free: 15.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4755, allocations: 0 / 0.5896 GB, free: 15.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.4757, allocations: 63.58 kB / 0.5896 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.4759, allocations: 5.859 kB / 0.5896 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.4772, allocations: 0.716 MB / 0.5903 GB, free: 14.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.4776, allocations: 0.7066 MB / 0.591 GB, free: 13.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001239/0.4777, allocations: 21.92 kB / 0.591 GB, free: 13.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.815e-05/0.4778, allocations: 29.97 kB / 0.5911 GB, free: 13.86 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4778, allocations: 0 / 0.5911 GB, free: 13.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01349/0.4913, allocations: 1.679 MB / 0.5927 GB, free: 13.69 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001751/0.4915, allocations: 173 kB / 0.5929 GB, free: 13.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.705/2.197, allocations: 0.5 kB / 0.5929 GB, free: 13.45 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: