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: translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions") translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009784/0.0009782, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006297/0.006297, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.464/1.464, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.718/1.718, allocations: 292.7 MB / 0.5502 GB, free: 14.51 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.0005498/0.0005498, allocations: 18.97 kB / 0.6743 GB, free: 25.79 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2315, allocations: 116.3 MB / 0.7879 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.00183/0.2334, allocations: 1.305 MB / 0.7891 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001002/0.2344, allocations: 0.5357 MB / 0.7897 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.715e-05/0.2345, allocations: 0 / 0.7897 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.2347, allocations: 7.922 kB / 0.7897 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.472e-05/0.2347, allocations: 19.86 kB / 0.7897 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000226/0.2349, allocations: 27.97 kB / 0.7897 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.2351, allocations: 79.72 kB / 0.7898 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.2352, allocations: 40.2 kB / 0.7898 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.687e-05/0.2353, allocations: 31.84 kB / 0.7899 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.15e-05/0.2354, allocations: 27.8 kB / 0.7899 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.2354, allocations: 4 kB / 0.7899 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.975e-05/0.2355, allocations: 7.984 kB / 0.7899 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.764e-05/0.2355, allocations: 19.92 kB / 0.7899 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.865e-05/0.2356, allocations: 57.5 kB / 0.79 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.2357, allocations: 83.91 kB / 0.7901 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2357, allocations: 0 / 0.7901 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2358, allocations: 0 / 0.7901 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.2358, allocations: 0 / 0.7901 GB, free: 9.352 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.0005206/0.2363, allocations: 391.1 kB / 0.7904 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.2363, allocations: 8.031 kB / 0.7904 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.182e-05/0.2364, allocations: 8.844 kB / 0.7905 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.2366, allocations: 200.1 kB / 0.7906 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.2366, allocations: 8.312 kB / 0.7906 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/0.2366, allocations: 12.31 kB / 0.7907 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002739/0.2369, allocations: 116.8 kB / 0.7908 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.2369, allocations: 0 / 0.7908 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.2369, allocations: 4 kB / 0.7908 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.237, allocations: 3.984 kB / 0.7908 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002438/0.2372, allocations: 107.9 kB / 0.7909 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006496/0.2379, allocations: 396.5 kB / 0.7913 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.238, allocations: 66.55 kB / 0.7913 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.2382, allocations: 56.95 kB / 0.7914 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.077e-05/0.2382, allocations: 4 kB / 0.7914 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.2382, allocations: 34.5 kB / 0.7914 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.113e-06/0.2383, allocations: 0 / 0.7914 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0004763/0.2387, allocations: 185.5 kB / 0.7916 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.2388, allocations: 51.41 kB / 0.7916 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.2389, allocations: 140.6 kB / 0.7918 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.2389, allocations: 29.7 kB / 0.7918 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.092e-05/0.239, allocations: 104 kB / 0.7919 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.239, allocations: 15.8 kB / 0.7919 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.263e-05/0.2391, allocations: 17.72 kB / 0.7919 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.816e-05/0.2392, allocations: 318.8 kB / 0.7922 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.2393, allocations: 47.97 kB / 0.7923 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.2394, allocations: 44.22 kB / 0.7923 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002298/0.2396, allocations: 112.9 kB / 0.7924 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2396, allocations: 0 / 0.7924 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002755/0.2399, allocations: 133.5 kB / 0.7926 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.24, allocations: 7.938 kB / 0.7926 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.24, allocations: 4 kB / 0.7926 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.24, allocations: 4 kB / 0.7926 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.2401, allocations: 27.91 kB / 0.7926 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.2401, allocations: 0 / 0.7926 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.206e-05/0.2402, allocations: 8 kB / 0.7926 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-05/0.2402, allocations: 7.969 kB / 0.7926 GB, free: 6.512 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 9.886e-05/0.2404, allocations: 125.8 kB / 0.7927 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.355e-05/0.2404, allocations: 11.91 kB / 0.7928 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003627/0.2408, allocations: 146.3 kB / 0.7929 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.2408, allocations: 11.92 kB / 0.7929 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.2408, allocations: 0 / 0.7929 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.2408, allocations: 0 / 0.7929 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.241, allocations: 209.5 kB / 0.7931 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.241, allocations: 0 / 0.7931 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.2411, allocations: 23.98 kB / 0.7931 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.2411, allocations: 0 / 0.7931 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.2412, allocations: 7.922 kB / 0.7931 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.2412, allocations: 7.875 kB / 0.7931 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2412, allocations: 0 / 0.7931 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003559/0.2415, allocations: 235.5 kB / 0.7934 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.775e-05/0.2416, allocations: 85.02 kB / 0.7934 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.2416, allocations: 8 kB / 0.7935 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.2417, allocations: 15.92 kB / 0.7935 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.804e-05/0.2418, allocations: 4 kB / 0.7935 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.2418, allocations: 7.984 kB / 0.7935 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.2e-05/0.2419, allocations: 102.4 kB / 0.7936 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2e-07/0.2419, allocations: 0 / 0.7936 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002438/0.2421, allocations: 15.91 kB / 0.7936 GB, free: 5.414 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.0001697/0.2423, allocations: 115.2 kB / 0.7937 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002849/0.2426, allocations: 107.9 kB / 0.7938 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.2426, allocations: 0 / 0.7938 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.2428, allocations: 59.97 kB / 0.7939 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.243, allocations: 4 kB / 0.7939 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004701/0.2435, allocations: 261 kB / 0.7941 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.2437, allocations: 0.7043 MB / 0.7948 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001031/0.2439, allocations: 15.97 kB / 0.7948 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.121e-05/0.2439, allocations: 11.44 kB / 0.7948 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of SimCode: time 3.01e-07/0.2439, allocations: 0 / 0.7948 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of Templates: time 0.002994/0.2469, allocations: 0.609 MB / 0.7954 GB, free: 3.48 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) Environment - environmentSimulation: