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: translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions") translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.345/1.345, allocations: 251.5 MB / 267.4 MB, free: 11.09 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.001059/0.00106, allocations: 171.3 kB / 326.5 MB, free: 2.703 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.085/2.085, allocations: 205 MB / 0.5766 GB, free: 20.98 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.0008021/0.0008021, allocations: 86.25 kB / 0.6803 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004169/0.000417, allocations: 13.08 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2853, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002252/0.2876, allocations: 1.321 MB / 0.898 GB, free: 66.87 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.2888, allocations: 0.5556 MB / 0.8986 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.416e-05/0.2889, allocations: 0 / 0.8986 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001526/0.2891, allocations: 7.922 kB / 0.8986 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.12e-05/0.2892, allocations: 11.88 kB / 0.8986 GB, free: 66.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002927/0.2895, allocations: 35.95 kB / 0.8986 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001388/0.2896, allocations: 71.72 kB / 0.8987 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002228/0.2899, allocations: 40.16 kB / 0.8987 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/0.29, allocations: 39.77 kB / 0.8988 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.771e-05/0.2901, allocations: 27.86 kB / 0.8988 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.2901, allocations: 4 kB / 0.8988 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.344e-05/0.2902, allocations: 15.98 kB / 0.8988 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.979e-05/0.2903, allocations: 15.88 kB / 0.8988 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.052e-05/0.2904, allocations: 35.72 kB / 0.8989 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000136/0.2905, allocations: 59.89 kB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.2905, allocations: 0 / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2905, allocations: 0 / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.2905, allocations: 0 / 0.8989 GB, free: 65.95 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.0005578/0.2911, allocations: 387.2 kB / 0.8993 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.2912, allocations: 12.02 kB / 0.8993 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.35e-05/0.2912, allocations: 16.75 kB / 0.8993 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.2914, allocations: 184.2 kB / 0.8995 GB, free: 65.28 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.2914, allocations: 12.31 kB / 0.8995 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/0.2915, allocations: 8.312 kB / 0.8995 GB, free: 65.26 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002794/0.2917, allocations: 123.2 kB / 0.8996 GB, free: 65.13 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.2918, allocations: 0 / 0.8996 GB, free: 65.13 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.2918, allocations: 0 / 0.8996 GB, free: 65.13 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.2918, allocations: 0 / 0.8996 GB, free: 65.13 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002272/0.292, allocations: 111.9 kB / 0.8997 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006139/0.2927, allocations: 380.5 kB / 0.9001 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.2928, allocations: 74.55 kB / 0.9002 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.2929, allocations: 52.95 kB / 0.9002 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.996e-05/0.293, allocations: 7.984 kB / 0.9002 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.293, allocations: 38.5 kB / 0.9003 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.293, allocations: 0 / 0.9003 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0004536/0.2935, allocations: 185.5 kB / 0.9004 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/0.2935, allocations: 51.41 kB / 0.9005 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.2936, allocations: 140.4 kB / 0.9006 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.2937, allocations: 25.7 kB / 0.9007 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.06e-05/0.2938, allocations: 112 kB / 0.9008 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.2938, allocations: 11.81 kB / 0.9008 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.372e-05/0.2938, allocations: 17.7 kB / 0.9008 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.045e-05/0.2939, allocations: 322.8 kB / 0.9011 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.294, allocations: 43.97 kB / 0.9011 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.985e-05/0.2941, allocations: 43.97 kB / 0.9012 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002066/0.2943, allocations: 104.7 kB / 0.9013 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2944, allocations: 4 kB / 0.9013 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002505/0.2946, allocations: 137.5 kB / 0.9014 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.2946, allocations: 8 kB / 0.9014 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.2947, allocations: 0 / 0.9014 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.2947, allocations: 0 / 0.9014 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.2948, allocations: 23.92 kB / 0.9014 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.2948, allocations: 0 / 0.9014 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.701e-05/0.2949, allocations: 19.92 kB / 0.9015 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.576e-05/0.2949, allocations: 7.938 kB / 0.9015 GB, free: 63.12 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.516e-05/0.295, allocations: 117.8 kB / 0.9016 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.054e-05/0.2951, allocations: 11.89 kB / 0.9016 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000339/0.2954, allocations: 154.3 kB / 0.9017 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.271e-06/0.2954, allocations: 7.938 kB / 0.9017 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.2954, allocations: 4.438 kB / 0.9018 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.2955, allocations: 0 / 0.9018 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001637/0.2956, allocations: 201.5 kB / 0.9019 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.2956, allocations: 4 kB / 0.9019 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.405e-05/0.2957, allocations: 23.97 kB / 0.902 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.2957, allocations: 4 kB / 0.902 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.2958, allocations: 7.938 kB / 0.902 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.2958, allocations: 3.938 kB / 0.902 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.2958, allocations: 4 kB / 0.902 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002844/0.2961, allocations: 231.4 kB / 0.9022 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.883e-05/0.2961, allocations: 85 kB / 0.9023 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.2961, allocations: 0 / 0.9023 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.337e-05/0.2962, allocations: 19.92 kB / 0.9023 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.249e-05/0.2963, allocations: 7.984 kB / 0.9023 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.2963, allocations: 4 kB / 0.9023 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.224e-05/0.2964, allocations: 105.8 kB / 0.9024 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2964, allocations: 0 / 0.9024 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002245/0.2966, allocations: 20 kB / 0.9024 GB, free: 62.02 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 (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.0001661/0.2968, allocations: 107.1 kB / 0.9025 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002807/0.2971, allocations: 111.9 kB / 0.9027 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2971, allocations: 0 / 0.9027 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.2972, allocations: 55.97 kB / 0.9027 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.2974, allocations: 4 kB / 0.9027 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005006/0.2979, allocations: 274.6 kB / 0.903 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001814/0.2981, allocations: 0.7082 MB / 0.9037 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.932e-05/0.2982, allocations: 7.438 kB / 0.9037 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of SimCode: time 5.21e-07/0.2982, allocations: 4 kB / 0.9037 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of Templates: time 0.002736/0.3009, allocations: 1.101 MB / 0.9047 GB, free: 59.6 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)