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.004637/0.004637, allocations: 102.6 kB / 15.74 MB, free: 6.5 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.001274/0.001274, allocations: 196.8 kB / 16.68 MB, free: 6.375 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.489/1.489, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8291/0.8291, allocations: 132.2 MB / 422.8 MB, free: 1.672 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 60.66 kB / 0.5809 GB, free: 1.098 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1901/0.192, allocations: 80.2 MB / 0.6592 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.002814/0.1948, allocations: 1.605 MB / 0.6608 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.1959, allocations: 0.5034 MB / 0.6613 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.582e-05/0.196, allocations: 11.94 kB / 0.6613 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001088/0.1961, allocations: 11.86 kB / 0.6613 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.206e-05/0.1961, allocations: 15.8 kB / 0.6613 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002526/0.1964, allocations: 35.95 kB / 0.6613 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.1966, allocations: 75.78 kB / 0.6614 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.1967, allocations: 48.19 kB / 0.6614 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001382/0.1969, allocations: 39.8 kB / 0.6615 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.16e-05/0.197, allocations: 35.84 kB / 0.6615 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.197, allocations: 4 kB / 0.6615 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.434e-05/0.1971, allocations: 19.98 kB / 0.6615 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.602e-05/0.1971, allocations: 23.91 kB / 0.6616 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.432e-05/0.1972, allocations: 35.75 kB / 0.6616 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.1974, allocations: 91.86 kB / 0.6617 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.1974, allocations: 0 / 0.6617 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1974, allocations: 0 / 0.6617 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.1974, allocations: 0 / 0.6617 GB, free: 11.42 MB / 0.4981 GB 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.0006302/0.1981, allocations: 406.9 kB / 0.6621 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.1981, allocations: 12.03 kB / 0.6621 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.393e-05/0.1982, allocations: 42.73 kB / 0.6621 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.953e-05/0.1982, allocations: 8.891 kB / 0.6621 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.1984, allocations: 198.3 kB / 0.6623 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.1985, allocations: 8.375 kB / 0.6623 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.1985, allocations: 8.359 kB / 0.6623 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002762/0.1988, allocations: 108 kB / 0.6624 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.1988, allocations: 0 / 0.6624 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.1988, allocations: 0 / 0.6624 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.1988, allocations: 4 kB / 0.6624 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002624/0.1991, allocations: 107.8 kB / 0.6625 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006429/0.1997, allocations: 376.6 kB / 0.6629 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.1999, allocations: 58.48 kB / 0.663 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.2, allocations: 52.95 kB / 0.663 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.934e-05/0.2001, allocations: 7.984 kB / 0.663 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.2001, allocations: 30.56 kB / 0.6631 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.2001, allocations: 0 / 0.6631 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0005181/0.2007, allocations: 161.6 kB / 0.6632 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.2007, allocations: 63.28 kB / 0.6633 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.2008, allocations: 133.8 kB / 0.6634 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.2009, allocations: 25.7 kB / 0.6634 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.87e-05/0.2009, allocations: 112.1 kB / 0.6635 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.286e-05/0.201, allocations: 19.84 kB / 0.6635 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.905e-05/0.201, allocations: 17.72 kB / 0.6636 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.2012, allocations: 318.8 kB / 0.6639 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.2013, allocations: 43.97 kB / 0.6639 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.2014, allocations: 44.22 kB / 0.6639 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002427/0.2017, allocations: 88.8 kB / 0.664 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.2017, allocations: 3.938 kB / 0.664 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002884/0.202, allocations: 125.5 kB / 0.6642 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.202, allocations: 8 kB / 0.6642 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.202, allocations: 0 / 0.6642 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.2021, allocations: 3.938 kB / 0.6642 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.2022, allocations: 23.97 kB / 0.6642 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.2022, allocations: 0 / 0.6642 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.156e-05/0.2023, allocations: 11.95 kB / 0.6642 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.585e-05/0.2023, allocations: 7.984 kB / 0.6642 GB, free: 8.605 MB / 0.4981 GB 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.0001046/0.2024, allocations: 114.5 kB / 0.6643 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.017e-05/0.2025, allocations: 11.95 kB / 0.6643 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003765/0.2029, allocations: 146.2 kB / 0.6645 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.2029, allocations: 3.938 kB / 0.6645 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.2029, allocations: 0 / 0.6645 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.2029, allocations: 3.984 kB / 0.6645 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002483/0.2031, allocations: 205.6 kB / 0.6647 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2032, allocations: 0 / 0.6647 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.2033, allocations: 15.98 kB / 0.6647 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.2033, allocations: 8.25 kB / 0.6647 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.2033, allocations: 3.984 kB / 0.6647 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/0.2033, allocations: 7.938 kB / 0.6647 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2033, allocations: 0 / 0.6647 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000355/0.2037, allocations: 223.4 kB / 0.6649 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.331e-05/0.2037, allocations: 85.06 kB / 0.665 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.2038, allocations: 4 kB / 0.665 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.848e-05/0.2039, allocations: 7.938 kB / 0.665 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.329e-05/0.2039, allocations: 11.98 kB / 0.665 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.16e-05/0.2039, allocations: 4 kB / 0.665 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.946e-05/0.204, allocations: 101.4 kB / 0.6651 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.204, allocations: 0 / 0.6651 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002402/0.2043, allocations: 20 kB / 0.6651 GB, free: 7.543 MB / 0.4981 GB 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.0007615/0.205, allocations: 0.7631 MB / 0.6659 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003121/0.2054, allocations: 99.88 kB / 0.666 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.2054, allocations: 3.938 kB / 0.666 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.2055, allocations: 59.95 kB / 0.666 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.2057, allocations: 11.88 kB / 0.6661 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002055/0.2078, allocations: 1.591 MB / 0.6676 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.2082, allocations: 0.7118 MB / 0.6683 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001454/0.2084, allocations: 15.97 kB / 0.6683 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.171e-05/0.2084, allocations: 27.42 kB / 0.6683 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.2084, allocations: 0 / 0.6683 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02322/0.2317, allocations: 1.999 MB / 0.6703 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.015/8.247, allocations: 11.92 kB / 0.6703 GB, free: 2.219 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)