Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Utilities.Math.Examples.VectorFunctions") translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001181/0.001181, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001199/0.001198, allocations: 195.3 kB / 16.14 MB, free: 6.703 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.573/1.573, allocations: 205.1 MB / 222 MB, free: 4.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6367/0.6367, allocations: 95.47 MB / 364.8 MB, free: 10.11 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 71.91 kB / 444.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4156/0.4172, allocations: 69.06 MB / 0.5017 GB, free: 17.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002762/0.4201, allocations: 1.625 MB / 0.5033 GB, free: 16.1 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008432/0.4209, allocations: 0.539 MB / 0.5038 GB, free: 15.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.206e-05/0.421, allocations: 0 / 0.5038 GB, free: 15.56 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001207/0.4211, allocations: 15.86 kB / 0.5038 GB, free: 15.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.852e-05/0.4212, allocations: 7.922 kB / 0.5038 GB, free: 15.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002231/0.4214, allocations: 31.91 kB / 0.5039 GB, free: 15.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.628e-05/0.4215, allocations: 75.72 kB / 0.5039 GB, free: 15.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.4217, allocations: 42.17 kB / 0.504 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.4218, allocations: 39.84 kB / 0.504 GB, free: 15.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.741e-05/0.4219, allocations: 43.83 kB / 0.504 GB, free: 15.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.4219, allocations: 4 kB / 0.5041 GB, free: 15.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.008e-05/0.422, allocations: 12 kB / 0.5041 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.087e-05/0.422, allocations: 19.92 kB / 0.5041 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.701e-05/0.4221, allocations: 39.73 kB / 0.5041 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.4222, allocations: 79.7 kB / 0.5042 GB, free: 15.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4222, allocations: 4 kB / 0.5042 GB, free: 15.15 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.4222, allocations: 0 / 0.5042 GB, free: 15.15 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.688e-06/0.4222, allocations: 0 / 0.5042 GB, free: 15.15 MB / 382.1 MB 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.0005161/0.4228, allocations: 399.1 kB / 0.5046 GB, free: 14.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.4228, allocations: 11.98 kB / 0.5046 GB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.751e-05/0.4229, allocations: 16.84 kB / 0.5046 GB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.423, allocations: 200 kB / 0.5048 GB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.423, allocations: 7.938 kB / 0.5048 GB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.4231, allocations: 8 kB / 0.5048 GB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.4233, allocations: 105.6 kB / 0.5049 GB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.4233, allocations: 0 / 0.5049 GB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.4233, allocations: 4 kB / 0.5049 GB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.4234, allocations: 4 kB / 0.5049 GB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002028/0.4236, allocations: 99.88 kB / 0.505 GB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005155/0.4241, allocations: 372.5 kB / 0.5054 GB, free: 13.81 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.4242, allocations: 66.48 kB / 0.5054 GB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.4243, allocations: 52.94 kB / 0.5055 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.826e-05/0.4244, allocations: 4 kB / 0.5055 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/0.4244, allocations: 30.56 kB / 0.5055 GB, free: 13.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.635e-06/0.4244, allocations: 0 / 0.5055 GB, free: 13.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004438/0.4249, allocations: 173.4 kB / 0.5057 GB, free: 13.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.4249, allocations: 59.34 kB / 0.5057 GB, free: 13.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.326e-05/0.425, allocations: 127.9 kB / 0.5059 GB, free: 13.26 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.425, allocations: 25.7 kB / 0.5059 GB, free: 13.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.422e-05/0.4251, allocations: 104 kB / 0.506 GB, free: 13.12 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/0.4251, allocations: 31.77 kB / 0.506 GB, free: 13.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-05/0.4252, allocations: 17.72 kB / 0.506 GB, free: 13.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.415e-05/0.4253, allocations: 322.8 kB / 0.5063 GB, free: 12.74 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.4254, allocations: 35.97 kB / 0.5064 GB, free: 12.71 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.767e-05/0.4255, allocations: 39.97 kB / 0.5064 GB, free: 12.67 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.4257, allocations: 92.8 kB / 0.5065 GB, free: 12.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4257, allocations: 0 / 0.5065 GB, free: 12.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002408/0.4259, allocations: 129.5 kB / 0.5066 GB, free: 12.44 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.4259, allocations: 15.92 kB / 0.5066 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.426, allocations: 448 / 0.5066 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.426, allocations: 0 / 0.5066 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.4261, allocations: 15.98 kB / 0.5067 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.4261, allocations: 0 / 0.5067 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.95e-05/0.4262, allocations: 11.98 kB / 0.5067 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.4262, allocations: 4 kB / 0.5067 GB, free: 12.39 MB / 382.1 MB 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 6.743e-05/0.4263, allocations: 121.8 kB / 0.5068 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.958e-05/0.4263, allocations: 7.844 kB / 0.5068 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003192/0.4267, allocations: 150.2 kB / 0.5069 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.4267, allocations: 0 / 0.5069 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.4267, allocations: 0 / 0.5069 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.4267, allocations: 0 / 0.5069 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001731/0.4269, allocations: 205.6 kB / 0.5071 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.4269, allocations: 0 / 0.5071 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.771e-05/0.427, allocations: 23.91 kB / 0.5072 GB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.427, allocations: 0 / 0.5072 GB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.427, allocations: 0 / 0.5072 GB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.427, allocations: 0 / 0.5072 GB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.427, allocations: 0 / 0.5072 GB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002553/0.4273, allocations: 227.4 kB / 0.5074 GB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.716e-05/0.4273, allocations: 92.83 kB / 0.5075 GB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.4274, allocations: 4 kB / 0.5075 GB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.485e-05/0.4275, allocations: 19.86 kB / 0.5075 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.098e-05/0.4275, allocations: 7.984 kB / 0.5075 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.4275, allocations: 0 / 0.5075 GB, free: 11.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.838e-05/0.4276, allocations: 105.1 kB / 0.5076 GB, free: 11.35 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4276, allocations: 0 / 0.5076 GB, free: 11.35 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002212/0.4278, allocations: 19.91 kB / 0.5076 GB, free: 11.33 MB / 382.1 MB 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.0001468/0.428, allocations: 99.23 kB / 0.5077 GB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000247/0.4282, allocations: 96.06 kB / 0.5078 GB, free: 11.13 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4282, allocations: 4 kB / 0.5078 GB, free: 11.13 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.4283, allocations: 56.03 kB / 0.5079 GB, free: 11.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.4286, allocations: 11.94 kB / 0.5079 GB, free: 11.06 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003845/0.429, allocations: 240.9 kB / 0.5081 GB, free: 10.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001601/0.4291, allocations: 0.7075 MB / 0.5088 GB, free: 10.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001401/0.4293, allocations: 11.98 kB / 0.5088 GB, free: 10.06 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.249e-05/0.4293, allocations: 15.44 kB / 0.5088 GB, free: 10.04 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4293, allocations: 0 / 0.5088 GB, free: 10.04 MB / 382.1 MB Notification: Performance of Templates: time 0.003057/0.4324, allocations: 0.6284 MB / 0.5094 GB, free: 9.418 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.VectorFunctions.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)