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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(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.00112/0.00112, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.421/1.421, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.891/2.891, allocations: 472.6 MB / 0.7451 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.001141, allocations: 66.34 kB / 0.912 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3168, allocations: 159.9 MB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002623/0.3194, allocations: 1.597 MB / 1.07 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007481/0.3202, allocations: 0.5065 MB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.521e-05/0.3202, allocations: 4 kB / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.851e-05/0.3203, allocations: 7.875 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.365e-05/0.3204, allocations: 11.81 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002119/0.3206, allocations: 51.88 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.3207, allocations: 83.7 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.3209, allocations: 36.22 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.349e-05/0.321, allocations: 39.84 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.471e-05/0.3211, allocations: 39.84 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.889e-05/0.3211, allocations: 8 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.796e-05/0.3211, allocations: 11.98 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.878e-05/0.3212, allocations: 23.91 kB / 1.071 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.827e-05/0.3212, allocations: 39.75 kB / 1.071 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.3214, allocations: 87.92 kB / 1.071 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3214, allocations: 0 / 1.071 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.92e-07/0.3214, allocations: 4 kB / 1.071 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.3214, allocations: 0 / 1.071 GB, free: 7.93 MB / 0.8262 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.0005035/0.3219, allocations: 399.1 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.322, allocations: 12.03 kB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.216e-05/0.322, allocations: 12.75 kB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.3222, allocations: 192.1 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.3222, allocations: 8.312 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.3222, allocations: 8.375 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002405/0.3225, allocations: 113.9 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.3225, allocations: 4 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.3225, allocations: 4 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3225, allocations: 0 / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002297/0.3227, allocations: 91.94 kB / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005635/0.3233, allocations: 392.4 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.3235, allocations: 58.55 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.3236, allocations: 44.95 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.242e-05/0.3236, allocations: 8 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.3237, allocations: 38.5 kB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.3237, allocations: 0 / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0004516/0.3241, allocations: 165.5 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.3242, allocations: 51.41 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.3243, allocations: 135.3 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.3243, allocations: 29.7 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.98e-05/0.3244, allocations: 104 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.3244, allocations: 15.89 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.118e-05/0.3244, allocations: 25.7 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.3245, allocations: 314.8 kB / 1.073 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.3247, allocations: 39.97 kB / 1.073 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.975e-05/0.3248, allocations: 44.33 kB / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002181/0.325, allocations: 92.75 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.325, allocations: 3.938 kB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000261/0.3253, allocations: 125.5 kB / 1.073 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.3253, allocations: 9.875 kB / 1.073 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.3253, allocations: 0 / 1.073 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.3253, allocations: 4 kB / 1.073 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.3255, allocations: 19.92 kB / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.3255, allocations: 0 / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.347e-05/0.3255, allocations: 15.89 kB / 1.073 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.3256, allocations: 0 / 1.073 GB, free: 5.18 MB / 0.8262 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.11e-05/0.3257, allocations: 125.8 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.215e-05/0.3257, allocations: 11.84 kB / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000342/0.326, allocations: 142.3 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.3261, allocations: 3.938 kB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3261, allocations: 4 kB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.3261, allocations: 0 / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.3263, allocations: 209.5 kB / 1.074 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3263, allocations: 0 / 1.074 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.3264, allocations: 19.98 kB / 1.074 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3264, allocations: 0 / 1.074 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.3264, allocations: 128 / 1.074 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.692e-06/0.3264, allocations: 19.88 kB / 1.074 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3264, allocations: 0 / 1.074 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003077/0.3268, allocations: 215.4 kB / 1.074 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.508e-05/0.3268, allocations: 85.02 kB / 1.074 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.3268, allocations: 4 kB / 1.074 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.327, allocations: 15.92 kB / 1.074 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.378e-05/0.327, allocations: 7.984 kB / 1.074 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.327, allocations: 0 / 1.074 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.89e-05/0.3271, allocations: 103.3 kB / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3271, allocations: 0 / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002383/0.3273, allocations: 12 kB / 1.074 GB, free: 4.117 MB / 0.8262 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.000146/0.3275, allocations: 111.7 kB / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003037/0.3278, allocations: 95.94 kB / 1.074 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3278, allocations: 0 / 1.074 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.3279, allocations: 55.91 kB / 1.074 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.3282, allocations: 18.3 kB / 1.074 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004079/0.3286, allocations: 219.1 kB / 1.075 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.3289, allocations: 0.7002 MB / 1.075 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001146/0.329, allocations: 19.95 kB / 1.075 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.433e-05/0.329, allocations: 15.42 kB / 1.075 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.329, allocations: 4 kB / 1.075 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of Templates: time 0.002896/0.3319, allocations: 0.7069 MB / 1.076 GB, free: 2.129 MB / 0.8262 GB 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)