Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.4/1.4, allocations: 251.9 MB / 266.9 MB, free: 11.08 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 172.5 kB / 326.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.987/1.987, allocations: 205.4 MB / 0.5775 GB, free: 20.29 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008361/0.0008362, allocations: 99.88 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003625/0.0003628, allocations: 8.562 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2616, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.001625/0.2633, allocations: 1.293 MB / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007367/0.264, allocations: 0.5247 MB / 0.9019 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.684e-05/0.2641, allocations: 3.938 kB / 0.9019 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.217e-05/0.2642, allocations: 7.922 kB / 0.9019 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.07e-05/0.2642, allocations: 19.97 kB / 0.9019 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001978/0.2644, allocations: 27.91 kB / 0.902 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.445e-05/0.2645, allocations: 51.86 kB / 0.902 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.2647, allocations: 32.22 kB / 0.9021 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.816e-05/0.2648, allocations: 27.91 kB / 0.9021 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.565e-05/0.2648, allocations: 27.84 kB / 0.9021 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.2649, allocations: 4 kB / 0.9021 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.864e-05/0.2649, allocations: 8 kB / 0.9021 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.947e-05/0.2649, allocations: 15.92 kB / 0.9021 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.615e-05/0.265, allocations: 41.64 kB / 0.9022 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.324e-05/0.2651, allocations: 51.89 kB / 0.9022 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.2651, allocations: 3.938 kB / 0.9022 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2651, allocations: 4 kB / 0.9022 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.89e-06/0.2651, allocations: 0 / 0.9022 GB, free: 61.71 MB / 0.6042 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.0005114/0.2656, allocations: 387.3 kB / 0.9026 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.2657, allocations: 8.031 kB / 0.9026 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.631e-05/0.2657, allocations: 38.55 kB / 0.9026 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.341e-05/0.2658, allocations: 19.77 kB / 0.9027 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.2659, allocations: 186.9 kB / 0.9028 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.2659, allocations: 15.98 kB / 0.9029 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.266, allocations: 4 kB / 0.9029 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002376/0.2662, allocations: 114.8 kB / 0.903 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.2662, allocations: 0 / 0.903 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.2662, allocations: 0 / 0.903 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.2663, allocations: 0 / 0.903 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002136/0.2665, allocations: 115.9 kB / 0.9031 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005079/0.267, allocations: 384.5 kB / 0.9034 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.2671, allocations: 66.48 kB / 0.9035 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.945e-05/0.2672, allocations: 7.953 kB / 0.9035 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.2672, allocations: 42.67 kB / 0.9036 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.2672, allocations: 0 / 0.9036 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0004063/0.2676, allocations: 181.5 kB / 0.9037 GB, free: 60 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.364e-05/0.2677, allocations: 51.41 kB / 0.9038 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.995e-05/0.2677, allocations: 130 kB / 0.9039 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.2677, allocations: 29.7 kB / 0.9039 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.908e-05/0.2678, allocations: 104.3 kB / 0.904 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.2678, allocations: 27.64 kB / 0.9041 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-06/0.2678, allocations: 3.938 kB / 0.9041 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.62e-05/0.2679, allocations: 322.8 kB / 0.9044 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.866e-05/0.268, allocations: 43.97 kB / 0.9044 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.96e-05/0.2681, allocations: 43.97 kB / 0.9045 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.2682, allocations: 51.97 kB / 0.9045 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2682, allocations: 0 / 0.9045 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002326/0.2685, allocations: 137.5 kB / 0.9046 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.2685, allocations: 15.89 kB / 0.9047 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.2685, allocations: 0 / 0.9047 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.2685, allocations: 0 / 0.9047 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.2686, allocations: 19.98 kB / 0.9047 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.2687, allocations: 0 / 0.9047 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.936e-05/0.2687, allocations: 15.98 kB / 0.9047 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.246e-05/0.2688, allocations: 11.94 kB / 0.9047 GB, free: 58.96 MB / 0.6042 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 6.634e-05/0.2688, allocations: 117.8 kB / 0.9048 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.535e-05/0.2689, allocations: 7.906 kB / 0.9048 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003071/0.2692, allocations: 162.2 kB / 0.905 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/0.2692, allocations: 3.984 kB / 0.905 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.2692, allocations: 4 kB / 0.905 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.2692, allocations: 0 / 0.905 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.2694, allocations: 201.6 kB / 0.9052 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2694, allocations: 0 / 0.9052 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.817e-05/0.2695, allocations: 23.92 kB / 0.9052 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.2695, allocations: 0.5 kB / 0.9052 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.2695, allocations: 0 / 0.9052 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.2695, allocations: 7.953 kB / 0.9052 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2695, allocations: 4 kB / 0.9052 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.2698, allocations: 235.4 kB / 0.9054 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.463e-05/0.2698, allocations: 85.02 kB / 0.9055 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.2699, allocations: 0 / 0.9055 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.508e-05/0.27, allocations: 11.98 kB / 0.9055 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.209e-05/0.27, allocations: 15.94 kB / 0.9055 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.27, allocations: 4 kB / 0.9055 GB, free: 58 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.129e-05/0.2701, allocations: 97.61 kB / 0.9056 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2701, allocations: 0 / 0.9056 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002153/0.2703, allocations: 27.84 kB / 0.9057 GB, free: 57.88 MB / 0.6042 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.0004688/0.2708, allocations: 0.7787 MB / 0.9064 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002407/0.271, allocations: 103.9 kB / 0.9065 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2711, allocations: 0 / 0.9065 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.2712, allocations: 63.91 kB / 0.9066 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001371/0.2713, allocations: 7.953 kB / 0.9066 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009619/0.2723, allocations: 0.7169 MB / 0.9073 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001388/0.2724, allocations: 0.7043 MB / 0.908 GB, free: 55.4 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.913e-05/0.2725, allocations: 11.98 kB / 0.908 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.358e-05/0.2726, allocations: 27.42 kB / 0.908 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2726, allocations: 4 kB / 0.908 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01235/0.2849, allocations: 1.686 MB / 0.9097 GB, free: 53.81 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001366/0.2851, allocations: 193.4 kB / 0.9099 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.559/1.845, allocations: 0 / 0.9099 GB, free: 53.57 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_VectorFunctions.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)