Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_8_Buildings_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.001499/0.001499, allocations: 105.4 kB / 15.7 MB, free: 24 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.001779/0.001779, allocations: 199.5 kB / 16.64 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.382/1.382, allocations: 205.1 MB / 222.5 MB, free: 4.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.714/1.714, allocations: 292.3 MB / 0.549 GB, free: 12.72 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 69.28 kB / 0.6718 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2371, allocations: 114.6 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002926/0.2401, allocations: 1.585 MB / 0.7852 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008894/0.241, allocations: 0.5483 MB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.351e-05/0.2411, allocations: 4 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001156/0.2412, allocations: 11.86 kB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.761e-05/0.2413, allocations: 7.875 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002773/0.2416, allocations: 39.88 kB / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.2417, allocations: 87.72 kB / 0.7859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.2419, allocations: 44.12 kB / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.13e-05/0.242, allocations: 39.86 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.855e-05/0.2421, allocations: 35.84 kB / 0.786 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.2421, allocations: 7.938 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.813e-05/0.2422, allocations: 19.98 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.664e-05/0.2422, allocations: 23.91 kB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.828e-05/0.2423, allocations: 39.75 kB / 0.7861 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.2424, allocations: 91.92 kB / 0.7862 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2425, allocations: 0 / 0.7862 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2425, allocations: 0 / 0.7862 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.952e-06/0.2425, allocations: 0 / 0.7862 GB, free: 10.65 MB / 0.6075 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.0005718/0.243, allocations: 403 kB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.2431, allocations: 12.03 kB / 0.7866 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.744e-05/0.2432, allocations: 38.73 kB / 0.7866 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.274e-05/0.2432, allocations: 8.844 kB / 0.7866 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.2434, allocations: 196.1 kB / 0.7868 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.2434, allocations: 8.359 kB / 0.7868 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.2434, allocations: 8.375 kB / 0.7868 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002622/0.2437, allocations: 105.8 kB / 0.7869 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.2437, allocations: 0 / 0.7869 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.2437, allocations: 3.984 kB / 0.7869 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.2438, allocations: 8 kB / 0.7869 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002344/0.244, allocations: 99.16 kB / 0.787 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005916/0.2446, allocations: 388.4 kB / 0.7874 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.2447, allocations: 58.48 kB / 0.7874 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.2449, allocations: 52.95 kB / 0.7875 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.887e-05/0.2449, allocations: 3.984 kB / 0.7875 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.245, allocations: 30.56 kB / 0.7875 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.245, allocations: 4 kB / 0.7875 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0004603/0.2454, allocations: 161.5 kB / 0.7877 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.2455, allocations: 55.34 kB / 0.7877 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.2456, allocations: 136.8 kB / 0.7879 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.2456, allocations: 25.7 kB / 0.7879 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.546e-05/0.2457, allocations: 112 kB / 0.788 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.013e-05/0.2457, allocations: 23.7 kB / 0.788 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.689e-05/0.2458, allocations: 17.72 kB / 0.788 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.2459, allocations: 322.8 kB / 0.7883 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.246, allocations: 35.97 kB / 0.7884 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.68e-05/0.2461, allocations: 39.97 kB / 0.7884 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/0.2463, allocations: 92.8 kB / 0.7885 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2464, allocations: 0 / 0.7885 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002633/0.2466, allocations: 121.5 kB / 0.7886 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.2466, allocations: 7.938 kB / 0.7886 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.2467, allocations: 0 / 0.7886 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.2467, allocations: 3.938 kB / 0.7886 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.2468, allocations: 31.91 kB / 0.7887 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.2468, allocations: 0 / 0.7887 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.66e-05/0.2469, allocations: 8 kB / 0.7887 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.55e-05/0.2469, allocations: 7.984 kB / 0.7887 GB, free: 7.844 MB / 0.6075 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 8.53e-05/0.247, allocations: 120.6 kB / 0.7888 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.873e-05/0.2471, allocations: 7.906 kB / 0.7888 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00034/0.2474, allocations: 150.7 kB / 0.7889 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.2474, allocations: 3.938 kB / 0.7889 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.2475, allocations: 3.984 kB / 0.7889 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.2475, allocations: 7.938 kB / 0.789 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000205/0.2477, allocations: 201.6 kB / 0.7891 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2477, allocations: 0 / 0.7891 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.576e-05/0.2478, allocations: 15.98 kB / 0.7892 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.2478, allocations: 4 kB / 0.7892 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.2478, allocations: 3.984 kB / 0.7892 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.2478, allocations: 3.938 kB / 0.7892 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2478, allocations: 0 / 0.7892 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003057/0.2481, allocations: 223.4 kB / 0.7894 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.123e-05/0.2482, allocations: 85.02 kB / 0.7895 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.2482, allocations: 0 / 0.7895 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.645e-05/0.2483, allocations: 15.92 kB / 0.7895 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.2484, allocations: 7.938 kB / 0.7895 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.2484, allocations: 4 kB / 0.7895 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.031e-05/0.2485, allocations: 103.2 kB / 0.7896 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2485, allocations: 4 kB / 0.7896 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002288/0.2487, allocations: 16 kB / 0.7896 GB, free: 6.781 MB / 0.6075 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.000596/0.2493, allocations: 0.7592 MB / 0.7904 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002804/0.2496, allocations: 103.9 kB / 0.7905 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2496, allocations: 0 / 0.7905 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.2497, allocations: 52.27 kB / 0.7905 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.25, allocations: 14.75 kB / 0.7905 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001794/0.2518, allocations: 1.61 MB / 0.7921 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.2521, allocations: 0.7002 MB / 0.7928 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001245/0.2523, allocations: 15.97 kB / 0.7928 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.09e-05/0.2523, allocations: 31.36 kB / 0.7928 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of SimCode: time 2.194e-06/0.2523, allocations: 0 / 0.7928 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01779/0.2701, allocations: 1.972 MB / 0.7947 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.514/7.784, allocations: 8.203 kB / 0.7948 GB, free: 1.469 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Math_Examples_VectorFunctions.fmu > Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)