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.001241/0.001241, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001381/0.001381, allocations: 198.4 kB / 16.14 MB, free: 6.656 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.424/1.424, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.794/2.794, allocations: 472.6 MB / 0.7447 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 67.58 kB / 0.9113 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3585, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.003269/0.3618, allocations: 1.66 MB / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009715/0.3628, allocations: 0.5066 MB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.075e-05/0.3629, allocations: 4 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001057/0.363, allocations: 7.875 kB / 1.07 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.492e-05/0.363, allocations: 7.922 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002079/0.3633, allocations: 39.91 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.3634, allocations: 83.7 kB / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.3635, allocations: 36.22 kB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.521e-05/0.3636, allocations: 31.91 kB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.849e-05/0.3637, allocations: 35.84 kB / 1.07 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.3637, allocations: 4 kB / 1.07 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.83e-05/0.3638, allocations: 11.98 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.57e-05/0.3639, allocations: 23.92 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.966e-05/0.3639, allocations: 35.73 kB / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.3641, allocations: 87.92 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.3641, allocations: 3.984 kB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3641, allocations: 0 / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.369e-06/0.3641, allocations: 4 kB / 1.07 GB, free: 8.309 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.0005301/0.3646, allocations: 391.2 kB / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.3647, allocations: 12.03 kB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.241e-05/0.3647, allocations: 12.75 kB / 1.07 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.3649, allocations: 200.1 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.769e-06/0.3649, allocations: 4.375 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.365, allocations: 8.375 kB / 1.071 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/0.3652, allocations: 113.9 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-06/0.3652, allocations: 0 / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.3653, allocations: 7.938 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3653, allocations: 0 / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000229/0.3655, allocations: 91.94 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005928/0.3661, allocations: 392.4 kB / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.3663, allocations: 62.48 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.3664, allocations: 44.95 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.351e-05/0.3664, allocations: 7.984 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.3665, allocations: 38.56 kB / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.3665, allocations: 0 / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0004491/0.3669, allocations: 169.5 kB / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.367, allocations: 51.41 kB / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.635e-05/0.3671, allocations: 135.1 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.3671, allocations: 37.7 kB / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.875e-05/0.3672, allocations: 100 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.3672, allocations: 15.89 kB / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-05/0.3673, allocations: 25.7 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.3674, allocations: 318.8 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.3675, allocations: 39.97 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.785e-05/0.3676, allocations: 35.97 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001948/0.3678, allocations: 88.81 kB / 1.072 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3678, allocations: 4 kB / 1.072 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000276/0.3681, allocations: 125.5 kB / 1.072 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.3681, allocations: 4 kB / 1.072 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3681, allocations: 0 / 1.072 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.3682, allocations: 0 / 1.072 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.3683, allocations: 27.86 kB / 1.072 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.3683, allocations: 0 / 1.072 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.472e-05/0.3684, allocations: 15.89 kB / 1.072 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.962e-05/0.3684, allocations: 0 / 1.072 GB, free: 5.559 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 8.482e-05/0.3685, allocations: 125.8 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.381e-05/0.3686, allocations: 7.906 kB / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003336/0.3689, allocations: 142.3 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.3689, allocations: 11.88 kB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3689, allocations: 0.5 kB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3689, allocations: 0 / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.3691, allocations: 205.5 kB / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3691, allocations: 0 / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.3693, allocations: 19.98 kB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3693, allocations: 0 / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.3693, allocations: 8 kB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.3693, allocations: 7.938 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3693, allocations: 0 / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002949/0.3696, allocations: 219.3 kB / 1.073 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.253e-05/0.3697, allocations: 85.02 kB / 1.073 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.3697, allocations: 0 / 1.073 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.3698, allocations: 15.92 kB / 1.073 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.95e-05/0.3699, allocations: 15.92 kB / 1.073 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.3699, allocations: 4 kB / 1.073 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.313e-05/0.3699, allocations: 101.1 kB / 1.073 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.21e-07/0.37, allocations: 0 / 1.073 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002467/0.3702, allocations: 19.98 kB / 1.073 GB, free: 4.488 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.0001515/0.3704, allocations: 99.25 kB / 1.074 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002774/0.3706, allocations: 99.94 kB / 1.074 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3707, allocations: 0 / 1.074 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.3708, allocations: 51.91 kB / 1.074 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.371, allocations: 14.66 kB / 1.074 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004733/0.3715, allocations: 244.8 kB / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.3718, allocations: 0.7082 MB / 1.075 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001531/0.372, allocations: 11.98 kB / 1.075 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.867e-05/0.372, allocations: 15.42 kB / 1.075 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of SimCode: time 4.71e-07/0.372, allocations: 0 / 1.075 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of Templates: time 0.003059/0.3751, allocations: 0.6251 MB / 1.075 GB, free: 2.574 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)