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.48/1.48, allocations: 249.3 MB / 261.9 MB, free: 5.871 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009872/0.0009872, allocations: 174.2 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.564/1.564, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.0009256/0.0009255, allocations: 88.64 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.82e-05/2.822e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2094, allocations: 106.3 MB / 0.8919 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7607/0.9702, allocations: 132.4 MB / 1.021 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/0.9705, allocations: 78.56 kB / 1.021 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00533/0.9759, allocations: 1.69 MB / 1.023 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.654e-06/0.9759, allocations: 0 / 1.023 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.144e-05/0.9759, allocations: 0 / 1.023 GB, free: 0.7656 MB / 0.6355 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.0004844/0.9764, allocations: 393.9 kB / 1.023 GB, free: 352 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.9765, allocations: 8.031 kB / 1.023 GB, free: 344 kB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.366e-05/0.9765, allocations: 41.67 kB / 1.023 GB, free: 296 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.624e-05/0.9766, allocations: 11.86 kB / 1.023 GB, free: 284 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.9768, allocations: 202.6 kB / 1.024 GB, free: 44 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.9768, allocations: 7.312 kB / 1.024 GB, free: 40 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.9768, allocations: 4 kB / 1.024 GB, free: 36 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002165/0.9771, allocations: 91.17 kB / 1.024 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.9771, allocations: 0 / 1.024 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.9771, allocations: 3.438 kB / 1.024 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.9771, allocations: 8 kB / 1.024 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.9772, allocations: 60.97 kB / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006151/0.9779, allocations: 392.2 kB / 1.024 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 8.098e-05/0.978, allocations: 44.7 kB / 1.024 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.007e-05/0.978, allocations: 39.73 kB / 1.024 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.203e-05/0.9781, allocations: 7.188 kB / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.9781, allocations: 30.56 kB / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.9781, allocations: 0 / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.000225/0.9784, allocations: 95.38 kB / 1.024 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.9784, allocations: 59.41 kB / 1.024 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.285e-05/0.9785, allocations: 121.7 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.9785, allocations: 25.7 kB / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.078e-05/0.9786, allocations: 106.9 kB / 1.025 GB, free: 15 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.9786, allocations: 14.94 kB / 1.025 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.371e-06/0.9786, allocations: 0 / 1.025 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.9787, allocations: 318.3 kB / 1.025 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.973e-05/0.9788, allocations: 26.75 kB / 1.025 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.054e-05/0.9788, allocations: 26.48 kB / 1.025 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.326e-05/0.9789, allocations: 30.61 kB / 1.025 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.9789, allocations: 4 kB / 1.025 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001431/0.9791, allocations: 98.2 kB / 1.025 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.9791, allocations: 9.516 kB / 1.025 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.9791, allocations: 3.984 kB / 1.025 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.9791, allocations: 0 / 1.025 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.9793, allocations: 23.98 kB / 1.025 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.9793, allocations: 0 / 1.025 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.63e-05/0.9794, allocations: 19.89 kB / 1.025 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/0.9794, allocations: 4 kB / 1.025 GB, free: 14.46 MB / 0.6511 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 () * 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 8.123e-05/0.9795, allocations: 112.4 kB / 1.025 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.879e-05/0.9795, allocations: 7.906 kB / 1.025 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002276/0.9798, allocations: 113.3 kB / 1.025 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.9798, allocations: 3.938 kB / 1.025 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.9798, allocations: 0 / 1.025 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.9798, allocations: 4 kB / 1.025 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.98, allocations: 206 kB / 1.026 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.98, allocations: 4 kB / 1.026 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.9801, allocations: 19.98 kB / 1.026 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.9801, allocations: 0 / 1.026 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.189e-05/0.9802, allocations: 3.984 kB / 1.026 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/0.9802, allocations: 7.891 kB / 1.026 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.9802, allocations: 0 / 1.026 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002068/0.9804, allocations: 191.6 kB / 1.026 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.856e-05/0.9805, allocations: 89 kB / 1.026 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.9805, allocations: 7.375 kB / 1.026 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.9806, allocations: 8 kB / 1.026 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.163e-05/0.9807, allocations: 11.94 kB / 1.026 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.9807, allocations: 0 / 1.026 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.224e-05/0.9808, allocations: 104.8 kB / 1.026 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9808, allocations: 0 / 1.026 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002173/0.981, allocations: 23.91 kB / 1.026 GB, free: 13.54 MB / 0.6511 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 () * 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.0005316/0.9815, allocations: 0.739 MB / 1.027 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001414/0.9817, allocations: 72.34 kB / 1.027 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.9817, allocations: 0 / 1.027 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.326e-05/0.9818, allocations: 44.3 kB / 1.027 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001338/0.9819, allocations: 12.55 kB / 1.027 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000456/0.9824, allocations: 181.7 kB / 1.027 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.9827, allocations: 0.7043 MB / 1.028 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.151e-05/0.9828, allocations: 19.88 kB / 1.028 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.77e-05/0.9828, allocations: 28.61 kB / 1.028 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of SimCode: time 5.01e-07/0.9828, allocations: 4 kB / 1.028 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01339/0.9962, allocations: 1.682 MB / 1.029 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002281/0.9965, allocations: 168.6 kB / 1.03 GB, free: 9.934 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.612/2.608, allocations: 0 / 1.03 GB, free: 9.934 MB / 0.6511 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)