Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="BuildSysPro_BuildSysPro_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.001305/0.001305, allocations: 100.5 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.001303/0.001303, 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 1.391/1.391, 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/BuildSysPro 3.5.0-master/package.mo): time 1.081/1.081, allocations: 143.3 MB / 434.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003491/0.0003492, allocations: 8 kB / 0.5159 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.1891, allocations: 83.42 MB / 0.5974 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions): time 0.001616/0.1907, allocations: 1.284 MB / 0.5986 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006709/0.1914, allocations: 480.1 kB / 0.5991 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.028e-05/0.1915, allocations: 4 kB / 0.5991 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.025e-05/0.1916, allocations: 7.922 kB / 0.5991 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.347e-05/0.1916, allocations: 11.92 kB / 0.5991 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001897/0.1918, allocations: 35.95 kB / 0.5991 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.246e-05/0.1919, allocations: 55.86 kB / 0.5992 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.192, allocations: 20.22 kB / 0.5992 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.439e-05/0.1921, allocations: 31.86 kB / 0.5992 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.018e-05/0.1922, allocations: 39.83 kB / 0.5993 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.034e-05/0.1922, allocations: 0 / 0.5993 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.906e-05/0.1923, allocations: 8 kB / 0.5993 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.878e-05/0.1923, allocations: 15.92 kB / 0.5993 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.124e-05/0.1923, allocations: 37.64 kB / 0.5993 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001017/0.1924, allocations: 56.11 kB / 0.5994 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.1925, allocations: 0 / 0.5994 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.884e-06/0.1925, allocations: 0 / 0.5994 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.1925, allocations: 4 kB / 0.5994 GB, free: 5.617 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.0005301/0.193, allocations: 395 kB / 0.5998 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.1931, allocations: 8.031 kB / 0.5998 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.937e-05/0.1931, allocations: 38.56 kB / 0.5998 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.814e-05/0.1931, allocations: 7.906 kB / 0.5998 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/0.1933, allocations: 194.8 kB / 0.6 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.1933, allocations: 7.875 kB / 0.6 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.1934, allocations: 8 kB / 0.6 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002436/0.1936, allocations: 117.6 kB / 0.6001 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.121e-06/0.1936, allocations: 0 / 0.6001 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.1936, allocations: 4 kB / 0.6001 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.1937, allocations: 4 kB / 0.6001 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002369/0.1939, allocations: 103.9 kB / 0.6002 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005694/0.1945, allocations: 392.5 kB / 0.6006 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.1946, allocations: 62.55 kB / 0.6007 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.206e-05/0.1947, allocations: 4.125 kB / 0.6007 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.1947, allocations: 42.52 kB / 0.6007 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 2.465e-06/0.1947, allocations: 0 / 0.6007 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.000455/0.1952, allocations: 189.4 kB / 0.6009 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.1952, allocations: 51.41 kB / 0.6009 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.1953, allocations: 131.7 kB / 0.6011 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.1954, allocations: 25.7 kB / 0.6011 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.056e-05/0.1954, allocations: 104.2 kB / 0.6012 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.1955, allocations: 23.8 kB / 0.6012 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.159e-06/0.1955, allocations: 0 / 0.6012 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.1956, allocations: 322.8 kB / 0.6015 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.1957, allocations: 47.97 kB / 0.6016 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.1958, allocations: 43.97 kB / 0.6016 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.196, allocations: 52.34 kB / 0.6017 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.196, allocations: 0 / 0.6017 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002704/0.1962, allocations: 141.5 kB / 0.6018 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.1963, allocations: 5.406 kB / 0.6018 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.892e-06/0.1963, allocations: 7.953 kB / 0.6018 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.377e-06/0.1963, allocations: 0 / 0.6018 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.1964, allocations: 23.97 kB / 0.6018 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1964, allocations: 0 / 0.6018 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.996e-05/0.1965, allocations: 8 kB / 0.6018 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.571e-05/0.1965, allocations: 7.984 kB / 0.6018 GB, free: 2.875 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.814e-05/0.1966, allocations: 119.9 kB / 0.602 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.807e-05/0.1967, allocations: 7.906 kB / 0.602 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003381/0.197, allocations: 158.2 kB / 0.6021 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.197, allocations: 7.953 kB / 0.6021 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.197, allocations: 11.92 kB / 0.6021 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.197, allocations: 0 / 0.6021 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001963/0.1972, allocations: 205.5 kB / 0.6023 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/0.1973, allocations: 0 / 0.6023 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.1974, allocations: 19.98 kB / 0.6023 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1974, allocations: 0 / 0.6023 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.1974, allocations: 7.984 kB / 0.6024 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1974, allocations: 4 kB / 0.6024 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1974, allocations: 7.891 kB / 0.6024 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003047/0.1977, allocations: 235.3 kB / 0.6026 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.91e-05/0.1978, allocations: 81.02 kB / 0.6027 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.1978, allocations: 8 kB / 0.6027 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.1979, allocations: 12 kB / 0.6027 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.1979, allocations: 8.125 kB / 0.6027 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.198, allocations: 11.98 kB / 0.6027 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.49e-05/0.198, allocations: 100.8 kB / 0.6028 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.198, allocations: 0 / 0.6028 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002292/0.1983, allocations: 16 kB / 0.6028 GB, free: 1.773 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 (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.0005785/0.1988, allocations: 0.7748 MB / 0.6036 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000259/0.1991, allocations: 111.9 kB / 0.6037 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1991, allocations: 0 / 0.6037 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.1993, allocations: 67.89 kB / 0.6037 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/0.1994, allocations: 7.953 kB / 0.6037 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.2005, allocations: 0.7234 MB / 0.6045 GB, free: 24 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3042/0.5047, allocations: 0.7004 MB / 0.6051 GB, free: 40.34 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000136/0.5049, allocations: 13.64 kB / 0.6052 GB, free: 40.34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.686e-05/0.505, allocations: 25.58 kB / 0.6052 GB, free: 40.33 MB / 0.4981 GB Notification: Performance of SimCode: time 7.71e-07/0.505, allocations: 0 / 0.6052 GB, free: 40.33 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01186/0.5168, allocations: 1.687 MB / 0.6068 GB, free: 40.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001964/0.5171, allocations: 196.9 kB / 0.607 GB, free: 40.01 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.675/2.192, allocations: 0 / 0.607 GB, free: 40.01 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_VectorFunctions.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) Environment - environmentSimulation: