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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.7899/0.7899, allocations: 127.3 MB / 139.8 MB, free: 15.47 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001294/0.001294, allocations: 196.7 kB / 169.7 MB, free: 1.727 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.983/1.983, allocations: 205.1 MB / 404.5 MB, free: 1.586 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001005/0.001005, allocations: 88.94 kB / 481.8 MB, free: 4.242 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 5.503e-05/5.555e-05, allocations: 4 kB / 0.5533 GB, free: 54.74 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1941, allocations: 76.76 MB / 0.6282 GB, free: 9.926 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6074/0.8016, allocations: 103.3 MB / 0.7292 GB, free: 10.06 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/0.8019, allocations: 78.45 kB / 0.7292 GB, free: 10.02 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005202/0.8071, allocations: 1.712 MB / 0.7309 GB, free: 8.52 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.937e-06/0.8072, allocations: 0 / 0.7309 GB, free: 8.52 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.8072, allocations: 2.188 kB / 0.7309 GB, free: 8.52 MB / 490.7 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.000494/0.8077, allocations: 393.6 kB / 0.7313 GB, free: 8.098 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.8077, allocations: 8.031 kB / 0.7313 GB, free: 8.09 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.126e-05/0.8078, allocations: 41.27 kB / 0.7313 GB, free: 8.043 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.398e-05/0.8078, allocations: 7.906 kB / 0.7313 GB, free: 8.035 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.8081, allocations: 201.1 kB / 0.7315 GB, free: 7.805 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.8081, allocations: 3.25 kB / 0.7315 GB, free: 7.805 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.855e-05/0.8081, allocations: 4 kB / 0.7315 GB, free: 7.801 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.8083, allocations: 100.4 kB / 0.7316 GB, free: 7.719 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.8084, allocations: 4 kB / 0.7316 GB, free: 7.715 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.8084, allocations: 0 / 0.7316 GB, free: 7.715 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.8084, allocations: 7.953 kB / 0.7316 GB, free: 7.707 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.8085, allocations: 65.66 kB / 0.7317 GB, free: 7.664 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006371/0.8092, allocations: 389 kB / 0.7321 GB, free: 7.27 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.295e-05/0.8093, allocations: 45.5 kB / 0.7321 GB, free: 7.227 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.868e-05/0.8093, allocations: 35.91 kB / 0.7321 GB, free: 7.199 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.422e-05/0.8094, allocations: 7.984 kB / 0.7322 GB, free: 7.191 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.8094, allocations: 30.56 kB / 0.7322 GB, free: 7.152 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 3.887e-06/0.8094, allocations: 4 kB / 0.7322 GB, free: 7.148 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002374/0.8097, allocations: 99.83 kB / 0.7323 GB, free: 7.062 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.438e-05/0.8097, allocations: 55.41 kB / 0.7323 GB, free: 6.996 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.8098, allocations: 120.2 kB / 0.7324 GB, free: 6.879 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.8099, allocations: 25.7 kB / 0.7325 GB, free: 6.848 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.816e-05/0.8099, allocations: 107.5 kB / 0.7326 GB, free: 6.75 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.81, allocations: 15.8 kB / 0.7326 GB, free: 6.734 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-06/0.81, allocations: 3.125 kB / 0.7326 GB, free: 6.734 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.8101, allocations: 314.1 kB / 0.7329 GB, free: 6.422 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.796e-05/0.8102, allocations: 30.48 kB / 0.7329 GB, free: 6.398 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.417e-05/0.8102, allocations: 25.48 kB / 0.7329 GB, free: 6.383 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.5e-05/0.8103, allocations: 27.48 kB / 0.733 GB, free: 6.363 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.8103, allocations: 3.953 kB / 0.733 GB, free: 6.359 MB / 490.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001746/0.8105, allocations: 95.58 kB / 0.7331 GB, free: 6.277 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.8105, allocations: 4 kB / 0.7331 GB, free: 6.273 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.8105, allocations: 0 / 0.7331 GB, free: 6.273 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.8105, allocations: 4 kB / 0.7331 GB, free: 6.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.8107, allocations: 23.98 kB / 0.7331 GB, free: 6.246 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.8107, allocations: 0 / 0.7331 GB, free: 6.246 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.545e-05/0.8108, allocations: 19.83 kB / 0.7331 GB, free: 6.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.329e-05/0.8108, allocations: 4 kB / 0.7331 GB, free: 6.227 MB / 490.7 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 () * 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 9.025e-05/0.8109, allocations: 108.9 kB / 0.7332 GB, free: 6.113 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.001e-05/0.811, allocations: 19.73 kB / 0.7332 GB, free: 6.094 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002379/0.8112, allocations: 115.3 kB / 0.7334 GB, free: 6.004 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.8112, allocations: 4 kB / 0.7334 GB, free: 6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.8112, allocations: 4 kB / 0.7334 GB, free: 5.996 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.8112, allocations: 0 / 0.7334 GB, free: 5.996 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002233/0.8115, allocations: 203.4 kB / 0.7336 GB, free: 5.766 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.8115, allocations: 0 / 0.7336 GB, free: 5.766 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.8116, allocations: 27.88 kB / 0.7336 GB, free: 5.742 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.8116, allocations: 0 / 0.7336 GB, free: 5.742 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.8116, allocations: 0 / 0.7336 GB, free: 5.742 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.8116, allocations: 0 / 0.7336 GB, free: 5.742 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.8116, allocations: 0 / 0.7336 GB, free: 5.742 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/0.8119, allocations: 202.2 kB / 0.7338 GB, free: 5.547 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.31e-05/0.8119, allocations: 85.02 kB / 0.7339 GB, free: 5.445 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.8119, allocations: 7.703 kB / 0.7339 GB, free: 5.441 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.812, allocations: 11.98 kB / 0.7339 GB, free: 5.43 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.172e-05/0.8121, allocations: 7.984 kB / 0.7339 GB, free: 5.422 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.8121, allocations: 4 kB / 0.7339 GB, free: 5.418 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.63e-05/0.8122, allocations: 104.8 kB / 0.734 GB, free: 5.324 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8122, allocations: 0 / 0.734 GB, free: 5.324 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002129/0.8124, allocations: 27.41 kB / 0.734 GB, free: 5.301 MB / 490.7 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 () * 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.0006013/0.813, allocations: 0.7363 MB / 0.7347 GB, free: 4.555 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001535/0.8132, allocations: 68.61 kB / 0.7348 GB, free: 4.508 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.8132, allocations: 4 kB / 0.7348 GB, free: 4.504 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.576e-05/0.8133, allocations: 46.3 kB / 0.7348 GB, free: 4.469 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.8134, allocations: 3.953 kB / 0.7348 GB, free: 4.465 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004969/0.8139, allocations: 180.5 kB / 0.735 GB, free: 4.27 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.8143, allocations: 0.7037 MB / 0.7357 GB, free: 3.543 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.864e-05/0.8144, allocations: 23.88 kB / 0.7357 GB, free: 3.52 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.138e-05/0.8145, allocations: 28.23 kB / 0.7358 GB, free: 3.504 MB / 490.7 MB Notification: Performance of SimCode: time 2.61e-07/0.8145, allocations: 0 / 0.7358 GB, free: 3.504 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01442/0.8289, allocations: 1.7 MB / 0.7374 GB, free: 1.926 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000231/0.8292, allocations: 164.7 kB / 0.7376 GB, free: 1.695 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.607/2.436, allocations: 0 / 0.7376 GB, free: 1.695 MB / 490.7 MB (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)