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.009231/0.009231, allocations: 108.8 kB / 15.71 MB, free: 5.566 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.001869/0.001869, allocations: 187.8 kB / 16.64 MB, free: 5.504 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.37/1.37, allocations: 222.9 MB / 240.3 MB, free: 4.199 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002118/0.002118, allocations: 286.7 kB / 290.8 MB, free: 1.805 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.988/0.988, allocations: 169.3 MB / 0.4983 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001739/0.001739, allocations: 95.86 kB / 0.6814 GB, free: 15.54 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2039, allocations: 86.97 MB / 0.7663 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.003297/0.2072, allocations: 1.6 MB / 0.7679 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008353/0.2081, allocations: 0.5002 MB / 0.7684 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.834e-05/0.2081, allocations: 4 kB / 0.7684 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.624e-05/0.2082, allocations: 11.86 kB / 0.7684 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.194e-05/0.2083, allocations: 15.8 kB / 0.7684 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002489/0.2085, allocations: 31.95 kB / 0.7684 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.2086, allocations: 91.64 kB / 0.7685 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.2088, allocations: 48.12 kB / 0.7686 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.43e-05/0.2089, allocations: 35.92 kB / 0.7686 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.009e-05/0.209, allocations: 35.84 kB / 0.7686 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.209, allocations: 8 kB / 0.7687 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.449e-05/0.2091, allocations: 27.91 kB / 0.7687 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.754e-05/0.2091, allocations: 15.92 kB / 0.7687 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.723e-05/0.2092, allocations: 43.73 kB / 0.7687 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.2093, allocations: 83.7 kB / 0.7688 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2093, allocations: 3.938 kB / 0.7688 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.795e-06/0.2093, allocations: 0 / 0.7688 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.864e-06/0.2093, allocations: 3.938 kB / 0.7688 GB, free: 5.918 MB / 0.5606 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.0005679/0.2099, allocations: 399 kB / 0.7692 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.21, allocations: 16.03 kB / 0.7692 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.69e-05/0.21, allocations: 8.844 kB / 0.7692 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.2102, allocations: 196.1 kB / 0.7694 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.2102, allocations: 8.375 kB / 0.7694 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.2102, allocations: 4.375 kB / 0.7694 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002431/0.2104, allocations: 109.9 kB / 0.7695 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.2105, allocations: 0 / 0.7695 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.2105, allocations: 7.938 kB / 0.7695 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.2105, allocations: 0 / 0.7695 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002265/0.2107, allocations: 99.94 kB / 0.7696 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005511/0.2113, allocations: 376.5 kB / 0.77 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.2115, allocations: 58.55 kB / 0.7701 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.2116, allocations: 52.95 kB / 0.7701 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.248e-05/0.2116, allocations: 4 kB / 0.7701 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.2117, allocations: 30.56 kB / 0.7701 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.2117, allocations: 0 / 0.7701 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0005145/0.2122, allocations: 165.4 kB / 0.7703 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.2122, allocations: 59.41 kB / 0.7704 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.2124, allocations: 139.7 kB / 0.7705 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.2124, allocations: 25.7 kB / 0.7705 GB, free: 4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.207e-05/0.2124, allocations: 108.1 kB / 0.7706 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-05/0.2125, allocations: 23.66 kB / 0.7706 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.063e-05/0.2125, allocations: 21.7 kB / 0.7707 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.2126, allocations: 322.8 kB / 0.771 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.2128, allocations: 39.97 kB / 0.771 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.82e-05/0.2129, allocations: 39.97 kB / 0.771 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002062/0.2131, allocations: 84.81 kB / 0.7711 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2131, allocations: 0 / 0.7711 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002658/0.2134, allocations: 133.5 kB / 0.7712 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.2134, allocations: 8 kB / 0.7713 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2134, allocations: 448 / 0.7713 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.2134, allocations: 0 / 0.7713 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.2135, allocations: 19.92 kB / 0.7713 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.2136, allocations: 0 / 0.7713 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.316e-05/0.2136, allocations: 19.92 kB / 0.7713 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.2137, allocations: 4 kB / 0.7713 GB, free: 3.164 MB / 0.5606 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.633e-05/0.2138, allocations: 126.4 kB / 0.7714 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.125e-05/0.2138, allocations: 11.91 kB / 0.7714 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004065/0.2142, allocations: 142.3 kB / 0.7716 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.2142, allocations: 3.938 kB / 0.7716 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2142, allocations: 0 / 0.7716 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.2142, allocations: 0 / 0.7716 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002133/0.2145, allocations: 209.6 kB / 0.7718 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2145, allocations: 0 / 0.7718 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.2146, allocations: 19.98 kB / 0.7718 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.2146, allocations: 0 / 0.7718 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-06/0.2146, allocations: 0 / 0.7718 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.2146, allocations: 3.938 kB / 0.7718 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.2146, allocations: 4 kB / 0.7718 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003287/0.215, allocations: 223.3 kB / 0.772 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.488e-05/0.215, allocations: 81.02 kB / 0.7721 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.215, allocations: 11.98 kB / 0.7721 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.913e-05/0.2151, allocations: 7.938 kB / 0.7721 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.231e-05/0.2152, allocations: 11.98 kB / 0.7721 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.2152, allocations: 0 / 0.7721 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.086e-05/0.2153, allocations: 102.2 kB / 0.7722 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.442e-06/0.2153, allocations: 0 / 0.7722 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000264/0.2156, allocations: 27.83 kB / 0.7722 GB, free: 2.102 MB / 0.5606 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.0001522/0.2157, allocations: 106.4 kB / 0.7723 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002892/0.216, allocations: 99.88 kB / 0.7724 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.216, allocations: 0 / 0.7724 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.2162, allocations: 48.22 kB / 0.7725 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.2164, allocations: 11.98 kB / 0.7725 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004928/0.2169, allocations: 211.2 kB / 0.7727 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.2172, allocations: 0.7001 MB / 0.7734 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.47e-05/0.2173, allocations: 15.98 kB / 0.7734 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.446e-05/0.2174, allocations: 15.42 kB / 0.7734 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of SimCode: time 3.5e-07/0.2174, allocations: 3.938 kB / 0.7734 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of Templates: time 0.002992/0.2204, allocations: 0.7191 MB / 0.7741 GB, free: 128 kB / 0.5606 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)