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.001158/0.001158, allocations: 105.4 kB / 15.7 MB, free: 28 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.001202/0.001202, allocations: 195.8 kB / 16.64 MB, free: 6.477 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.474/1.474, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.667/1.667, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.002757/0.002757, allocations: 78.45 kB / 0.6718 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2232, allocations: 114.5 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002569/0.2258, allocations: 1.609 MB / 0.7852 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008138/0.2266, allocations: 0.5444 MB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.371e-05/0.2267, allocations: 0 / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.636e-05/0.2268, allocations: 11.86 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.663e-05/0.2268, allocations: 19.86 kB / 0.7858 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002185/0.2271, allocations: 31.89 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.2272, allocations: 87.7 kB / 0.7859 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.2274, allocations: 40.2 kB / 0.7859 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.251e-05/0.2274, allocations: 35.86 kB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.428e-05/0.2275, allocations: 43.81 kB / 0.786 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.2276, allocations: 7.938 kB / 0.786 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.013e-05/0.2276, allocations: 16 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.8e-05/0.2277, allocations: 19.92 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.528e-05/0.2277, allocations: 43.73 kB / 0.7861 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.2279, allocations: 91.92 kB / 0.7862 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.2279, allocations: 4 kB / 0.7862 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2279, allocations: 0 / 0.7862 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.2279, allocations: 0 / 0.7862 GB, free: 10.66 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.0005101/0.2284, allocations: 399 kB / 0.7865 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.2285, allocations: 12.03 kB / 0.7866 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.521e-05/0.2285, allocations: 30.75 kB / 0.7866 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.339e-05/0.2285, allocations: 20.78 kB / 0.7866 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.2287, allocations: 193.1 kB / 0.7868 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.2287, allocations: 12.38 kB / 0.7868 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.2288, allocations: 4.375 kB / 0.7868 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002307/0.229, allocations: 109.8 kB / 0.7869 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.229, allocations: 0 / 0.7869 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.229, allocations: 0 / 0.7869 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.229, allocations: 4 kB / 0.7869 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002061/0.2293, allocations: 95.94 kB / 0.787 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005168/0.2298, allocations: 384.4 kB / 0.7874 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.2299, allocations: 58.48 kB / 0.7874 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.23, allocations: 52.95 kB / 0.7875 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.556e-05/0.2301, allocations: 7.938 kB / 0.7875 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.2301, allocations: 34.56 kB / 0.7875 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.2301, allocations: 0 / 0.7875 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0004183/0.2305, allocations: 157.5 kB / 0.7877 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.2306, allocations: 59.33 kB / 0.7877 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.224e-05/0.2307, allocations: 136.3 kB / 0.7879 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.2307, allocations: 29.7 kB / 0.7879 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.977e-05/0.2308, allocations: 108.1 kB / 0.788 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.2308, allocations: 19.7 kB / 0.788 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.951e-05/0.2308, allocations: 21.7 kB / 0.788 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.583e-05/0.2309, allocations: 318.8 kB / 0.7883 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.231, allocations: 35.97 kB / 0.7884 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.822e-05/0.2311, allocations: 43.97 kB / 0.7884 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002047/0.2314, allocations: 88.8 kB / 0.7885 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2314, allocations: 0 / 0.7885 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002524/0.2316, allocations: 125.9 kB / 0.7886 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.2317, allocations: 4 kB / 0.7886 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.2317, allocations: 0 / 0.7886 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.2317, allocations: 12 kB / 0.7886 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.2318, allocations: 23.92 kB / 0.7886 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.2318, allocations: 0 / 0.7886 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.689e-05/0.2319, allocations: 15.92 kB / 0.7887 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/0.2319, allocations: 4 kB / 0.7887 GB, free: 7.863 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 7.853e-05/0.232, allocations: 113.8 kB / 0.7888 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.162e-05/0.2321, allocations: 11.89 kB / 0.7888 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003328/0.2324, allocations: 150.3 kB / 0.7889 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.2324, allocations: 3.938 kB / 0.7889 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.2324, allocations: 0 / 0.7889 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.2324, allocations: 3.938 kB / 0.7889 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001895/0.2326, allocations: 201.6 kB / 0.7891 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2326, allocations: 0 / 0.7891 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.87e-05/0.2327, allocations: 23.97 kB / 0.7892 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.2327, allocations: 0 / 0.7892 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.2328, allocations: 0 / 0.7892 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.2328, allocations: 7.938 kB / 0.7892 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2328, allocations: 0 / 0.7892 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002952/0.2331, allocations: 223.4 kB / 0.7894 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.177e-05/0.2331, allocations: 85 kB / 0.7895 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.2331, allocations: 0 / 0.7895 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.581e-05/0.2332, allocations: 15.92 kB / 0.7895 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.126e-05/0.2333, allocations: 15.92 kB / 0.7895 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.2333, allocations: 4.125 kB / 0.7895 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.309e-05/0.2334, allocations: 110 kB / 0.7896 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2334, allocations: 0 / 0.7896 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002324/0.2336, allocations: 12 kB / 0.7896 GB, free: 6.801 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.0005898/0.2342, allocations: 0.7671 MB / 0.7904 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002548/0.2345, allocations: 99.86 kB / 0.7904 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2345, allocations: 0 / 0.7904 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.2346, allocations: 51.97 kB / 0.7905 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.2348, allocations: 11.94 kB / 0.7905 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.2365, allocations: 1.609 MB / 0.7921 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.2368, allocations: 0.7002 MB / 0.7928 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001634/0.237, allocations: 19.97 kB / 0.7928 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.796e-05/0.2371, allocations: 31.36 kB / 0.7928 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2371, allocations: 0 / 0.7928 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01665/0.2537, allocations: 1.978 MB / 0.7947 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.02/7.273, allocations: 12.08 kB / 0.7948 GB, free: 1.48 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_VectorFunctions.fmu > Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)