Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="IBPSA_latest_IBPSA_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.0009568/0.0009572, allocations: 93.73 kB / 16.02 MB, free: 84 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.00108/0.00108, allocations: 172.8 kB / 16.91 MB, free: 6.68 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.431/1.431, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.698/0.698, allocations: 115.5 MB / 407.6 MB, free: 2.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005133/0.0005133, allocations: 8 kB / 496 MB, free: 6.277 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1898, allocations: 77.52 MB / 0.56 GB, free: 8.953 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.VectorFunctions): time 0.001717/0.1916, allocations: 1.306 MB / 0.5613 GB, free: 7.633 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008559/0.1924, allocations: 0.4919 MB / 0.5618 GB, free: 7.133 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.856e-05/0.1925, allocations: 0 / 0.5618 GB, free: 7.133 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.557e-05/0.1926, allocations: 7.938 kB / 0.5618 GB, free: 7.125 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.658e-05/0.1927, allocations: 15.86 kB / 0.5618 GB, free: 7.109 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002179/0.1929, allocations: 31.97 kB / 0.5618 GB, free: 7.078 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.193, allocations: 75.7 kB / 0.5619 GB, free: 7.004 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.1932, allocations: 40.2 kB / 0.562 GB, free: 6.965 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.1933, allocations: 27.91 kB / 0.562 GB, free: 6.938 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.088e-05/0.1934, allocations: 35.72 kB / 0.562 GB, free: 6.902 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.1935, allocations: 4 kB / 0.562 GB, free: 6.898 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.905e-05/0.1935, allocations: 8 kB / 0.562 GB, free: 6.891 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.196e-05/0.1936, allocations: 15.92 kB / 0.562 GB, free: 6.875 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.322e-05/0.1936, allocations: 61.44 kB / 0.5621 GB, free: 6.809 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001504/0.1938, allocations: 79.92 kB / 0.5622 GB, free: 6.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1938, allocations: 0 / 0.5622 GB, free: 6.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1938, allocations: 0 / 0.5622 GB, free: 6.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1938, allocations: 8 kB / 0.5622 GB, free: 6.723 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.0005702/0.1944, allocations: 399.1 kB / 0.5626 GB, free: 6.285 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.1944, allocations: 8.031 kB / 0.5626 GB, free: 6.277 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.98e-05/0.1945, allocations: 38.75 kB / 0.5626 GB, free: 6.23 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.49e-05/0.1946, allocations: 8.844 kB / 0.5626 GB, free: 6.223 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.1948, allocations: 200.1 kB / 0.5628 GB, free: 5.988 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.1948, allocations: 4.375 kB / 0.5628 GB, free: 5.984 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.1948, allocations: 8.375 kB / 0.5628 GB, free: 5.977 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/0.1951, allocations: 117.7 kB / 0.5629 GB, free: 5.855 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.1951, allocations: 0 / 0.5629 GB, free: 5.855 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.1951, allocations: 4 kB / 0.5629 GB, free: 5.852 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.1951, allocations: 4 kB / 0.5629 GB, free: 5.848 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002504/0.1954, allocations: 103.9 kB / 0.563 GB, free: 5.746 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006216/0.196, allocations: 388.5 kB / 0.5634 GB, free: 5.316 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.1962, allocations: 62.55 kB / 0.5635 GB, free: 5.246 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.1963, allocations: 60.95 kB / 0.5635 GB, free: 5.184 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.703e-05/0.1964, allocations: 3.984 kB / 0.5635 GB, free: 5.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.1964, allocations: 38.56 kB / 0.5636 GB, free: 5.133 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.1964, allocations: 0 / 0.5636 GB, free: 5.133 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004967/0.1969, allocations: 189.4 kB / 0.5638 GB, free: 4.941 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.1969, allocations: 55.34 kB / 0.5638 GB, free: 4.875 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.1971, allocations: 127.9 kB / 0.5639 GB, free: 4.742 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.1971, allocations: 33.7 kB / 0.564 GB, free: 4.703 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.572e-05/0.1972, allocations: 100 kB / 0.5641 GB, free: 4.602 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.264e-05/0.1972, allocations: 23.8 kB / 0.5641 GB, free: 4.578 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.973e-05/0.1973, allocations: 9.719 kB / 0.5641 GB, free: 4.562 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.1974, allocations: 326.8 kB / 0.5644 GB, free: 4.234 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.1975, allocations: 43.97 kB / 0.5644 GB, free: 4.191 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.1976, allocations: 47.97 kB / 0.5645 GB, free: 4.145 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002369/0.1979, allocations: 105.2 kB / 0.5646 GB, free: 4.039 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1979, allocations: 7.938 kB / 0.5646 GB, free: 4.031 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002949/0.1982, allocations: 133.5 kB / 0.5647 GB, free: 3.895 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.1982, allocations: 4 kB / 0.5647 GB, free: 3.891 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1982, allocations: 0 / 0.5647 GB, free: 3.891 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.1983, allocations: 11.88 kB / 0.5647 GB, free: 3.879 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.1984, allocations: 23.97 kB / 0.5648 GB, free: 3.855 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.1984, allocations: 0 / 0.5648 GB, free: 3.855 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.383e-05/0.1985, allocations: 8 kB / 0.5648 GB, free: 3.848 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/0.1985, allocations: 15.97 kB / 0.5648 GB, free: 3.832 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.678e-05/0.1986, allocations: 113.8 kB / 0.5649 GB, free: 3.711 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.046e-05/0.1987, allocations: 11.91 kB / 0.5649 GB, free: 3.699 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003699/0.199, allocations: 154.3 kB / 0.565 GB, free: 3.543 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.1991, allocations: 7.922 kB / 0.5651 GB, free: 3.535 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1991, allocations: 0 / 0.5651 GB, free: 3.535 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1991, allocations: 4 kB / 0.5651 GB, free: 3.531 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000215/0.1993, allocations: 205.6 kB / 0.5653 GB, free: 3.281 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1993, allocations: 0 / 0.5653 GB, free: 3.281 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.1994, allocations: 19.98 kB / 0.5653 GB, free: 3.262 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1994, allocations: 0 / 0.5653 GB, free: 3.262 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.1994, allocations: 7.984 kB / 0.5653 GB, free: 3.254 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.1995, allocations: 3.938 kB / 0.5653 GB, free: 3.25 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.1995, allocations: 3.984 kB / 0.5653 GB, free: 3.246 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003446/0.1998, allocations: 239.5 kB / 0.5655 GB, free: 2.996 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.034e-05/0.1999, allocations: 89.02 kB / 0.5656 GB, free: 2.891 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.1999, allocations: 0 / 0.5656 GB, free: 2.891 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.2, allocations: 19.92 kB / 0.5656 GB, free: 2.871 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.782e-05/0.2001, allocations: 4 kB / 0.5656 GB, free: 2.867 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.2001, allocations: 7.984 kB / 0.5656 GB, free: 2.859 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.466e-05/0.2001, allocations: 101.6 kB / 0.5657 GB, free: 2.762 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2002, allocations: 0 / 0.5657 GB, free: 2.762 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002482/0.2004, allocations: 19.91 kB / 0.5657 GB, free: 2.742 MB / 430.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.0006861/0.2011, allocations: 0.7787 MB / 0.5665 GB, free: 1.938 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003093/0.2014, allocations: 111.9 kB / 0.5666 GB, free: 1.828 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.2014, allocations: 0 / 0.5666 GB, free: 1.828 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.2016, allocations: 63.91 kB / 0.5667 GB, free: 1.766 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.2018, allocations: 7.938 kB / 0.5667 GB, free: 1.758 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/0.2039, allocations: 1.653 MB / 0.5683 GB, free: 28 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.2042, allocations: 0.6965 MB / 0.569 GB, free: 15.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.839e-05/0.2043, allocations: 15.97 kB / 0.569 GB, free: 15.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.249e-05/0.2044, allocations: 27.42 kB / 0.569 GB, free: 15.26 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2044, allocations: 3.938 kB / 0.569 GB, free: 15.26 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01188/0.2163, allocations: 1.698 MB / 0.5707 GB, free: 13.7 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001851/0.2165, allocations: 193.5 kB / 0.5709 GB, free: 13.44 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.811/2.028, allocations: 0 / 0.5709 GB, free: 13.44 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_VectorFunctions.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)