Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions") translateModel(BuildingSystems.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.004731/0.004731, allocations: 98.06 kB / 15.73 MB, free: 6.008 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.000975/0.000975, allocations: 190.4 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.261/1.261, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002068/0.002068, allocations: 286.1 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9058/0.9058, allocations: 169.3 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001652/0.001652, allocations: 95.86 kB / 0.6815 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4083/0.41, allocations: 86.98 MB / 0.7664 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.002525/0.4126, allocations: 1.585 MB / 0.7679 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0007968/0.4134, allocations: 0.5092 MB / 0.7684 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.812e-05/0.4135, allocations: 0 / 0.7684 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 8.832e-05/0.4135, allocations: 7.875 kB / 0.7685 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.755e-05/0.4136, allocations: 19.8 kB / 0.7685 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002122/0.4138, allocations: 43.89 kB / 0.7685 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.4139, allocations: 79.7 kB / 0.7686 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.4141, allocations: 40.2 kB / 0.7686 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.134e-05/0.4142, allocations: 43.84 kB / 0.7687 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.147e-05/0.4143, allocations: 39.78 kB / 0.7687 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.4143, allocations: 8 kB / 0.7687 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.349e-05/0.4143, allocations: 8 kB / 0.7687 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.707e-05/0.4144, allocations: 23.91 kB / 0.7687 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.576e-05/0.4144, allocations: 43.73 kB / 0.7688 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.4146, allocations: 93.2 kB / 0.7689 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.4146, allocations: 0 / 0.7689 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.252e-06/0.4146, allocations: 4 kB / 0.7689 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.4146, allocations: 0 / 0.7689 GB, free: 1.227 MB / 0.5294 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.0004582/0.4151, allocations: 399 kB / 0.7693 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 2.884e-05/0.4151, allocations: 12.03 kB / 0.7693 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.712e-05/0.4152, allocations: 8.891 kB / 0.7693 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.4153, allocations: 204.1 kB / 0.7695 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.4153, allocations: 4.375 kB / 0.7695 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.4153, allocations: 4.375 kB / 0.7695 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.4156, allocations: 114 kB / 0.7696 GB, free: 416 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.4156, allocations: 3.938 kB / 0.7696 GB, free: 412 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.4156, allocations: 0 / 0.7696 GB, free: 412 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-06/0.4156, allocations: 0 / 0.7696 GB, free: 412 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002189/0.4158, allocations: 99.92 kB / 0.7697 GB, free: 312 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005307/0.4164, allocations: 380.6 kB / 0.7701 GB, free: 15.88 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.4165, allocations: 62.55 kB / 0.7701 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.4166, allocations: 48.95 kB / 0.7702 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.601e-05/0.4167, allocations: 11.97 kB / 0.7702 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.4167, allocations: 30.56 kB / 0.7702 GB, free: 15.71 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.4167, allocations: 4 kB / 0.7702 GB, free: 15.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0004342/0.4172, allocations: 165.5 kB / 0.7704 GB, free: 15.54 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.4172, allocations: 51.41 kB / 0.7704 GB, free: 15.48 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.483e-05/0.4173, allocations: 140.2 kB / 0.7705 GB, free: 15.33 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.4173, allocations: 29.7 kB / 0.7706 GB, free: 15.3 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.702e-05/0.4174, allocations: 108 kB / 0.7707 GB, free: 15.19 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.4174, allocations: 19.97 kB / 0.7707 GB, free: 15.17 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.346e-05/0.4174, allocations: 21.72 kB / 0.7707 GB, free: 15.14 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.971e-05/0.4175, allocations: 318.8 kB / 0.771 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.4177, allocations: 39.97 kB / 0.7711 GB, free: 14.78 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.387e-05/0.4178, allocations: 35.97 kB / 0.7711 GB, free: 14.75 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/0.418, allocations: 92.8 kB / 0.7712 GB, free: 14.65 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.418, allocations: 4 kB / 0.7712 GB, free: 14.65 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002572/0.4182, allocations: 125.5 kB / 0.7713 GB, free: 14.52 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.4183, allocations: 4 kB / 0.7713 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.4183, allocations: 0 / 0.7713 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.377e-06/0.4183, allocations: 0 / 0.7713 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.4184, allocations: 27.84 kB / 0.7713 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.4184, allocations: 0 / 0.7713 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.725e-05/0.4185, allocations: 15.95 kB / 0.7713 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.175e-05/0.4185, allocations: 7.984 kB / 0.7714 GB, free: 14.46 MB / 0.545 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 7.162e-05/0.4186, allocations: 117.8 kB / 0.7715 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.043e-05/0.4187, allocations: 7.953 kB / 0.7715 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003167/0.419, allocations: 142.6 kB / 0.7716 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.419, allocations: 11.92 kB / 0.7716 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.419, allocations: 4 kB / 0.7716 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.419, allocations: 0 / 0.7716 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001838/0.4192, allocations: 209.7 kB / 0.7718 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4192, allocations: 0 / 0.7718 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.948e-05/0.4193, allocations: 15.98 kB / 0.7718 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.4193, allocations: 0 / 0.7718 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.4193, allocations: 7.984 kB / 0.7719 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.4193, allocations: 3.938 kB / 0.7719 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.4193, allocations: 0 / 0.7719 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003084/0.4197, allocations: 227.4 kB / 0.7721 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.573e-05/0.4197, allocations: 89 kB / 0.7722 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.4197, allocations: 0 / 0.7722 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.4198, allocations: 11.92 kB / 0.7722 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/0.4199, allocations: 8 kB / 0.7722 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.4199, allocations: 7.984 kB / 0.7722 GB, free: 13.52 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.714e-05/0.42, allocations: 102.2 kB / 0.7723 GB, free: 13.42 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.42, allocations: 0 / 0.7723 GB, free: 13.42 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002332/0.4202, allocations: 19.95 kB / 0.7723 GB, free: 13.4 MB / 0.545 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.0001104/0.4203, allocations: 99.25 kB / 0.7724 GB, free: 13.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000268/0.4206, allocations: 103.9 kB / 0.7725 GB, free: 13.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4206, allocations: 0 / 0.7725 GB, free: 13.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.4207, allocations: 51.97 kB / 0.7725 GB, free: 13.14 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/0.421, allocations: 8 kB / 0.7726 GB, free: 13.14 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003732/0.4213, allocations: 214.9 kB / 0.7728 GB, free: 12.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/0.4216, allocations: 0.7002 MB / 0.7734 GB, free: 12.17 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.929e-05/0.4217, allocations: 23.91 kB / 0.7735 GB, free: 12.15 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.123e-05/0.4217, allocations: 15.44 kB / 0.7735 GB, free: 12.13 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.4217, allocations: 0 / 0.7735 GB, free: 12.13 MB / 0.545 GB Notification: Performance of Templates: time 0.002583/0.4243, allocations: 0.719 MB / 0.7742 GB, free: 11.41 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)