Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.VectorFunctions") translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.VectorFunctions") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.2076/0.2101, allocations: 80.83 MB / 0.6706 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.004111/0.2143, allocations: 1.572 MB / 0.6722 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001337/0.2156, allocations: 0.5354 MB / 0.6727 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.2158, allocations: 0 / 0.6727 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.2159, allocations: 11.86 kB / 0.6727 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.409e-05/0.2161, allocations: 15.81 kB / 0.6727 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004215/0.2165, allocations: 39.95 kB / 0.6727 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.2167, allocations: 83.69 kB / 0.6728 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002318/0.2169, allocations: 44.16 kB / 0.6729 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.2171, allocations: 35.84 kB / 0.6729 GB, free: 2.246 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.2172, allocations: 43.78 kB / 0.6729 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.746e-05/0.2172, allocations: 8 kB / 0.6729 GB, free: 2.195 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.145e-05/0.2173, allocations: 11.98 kB / 0.673 GB, free: 2.184 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.833e-05/0.2174, allocations: 23.92 kB / 0.673 GB, free: 2.16 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.737e-05/0.2175, allocations: 35.8 kB / 0.673 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.2177, allocations: 91.56 kB / 0.6731 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2177, allocations: 0 / 0.6731 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.794e-06/0.2177, allocations: 4 kB / 0.6731 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.2177, allocations: 0 / 0.6731 GB, free: 2.031 MB / 0.5137 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.0006247/0.2184, allocations: 403 kB / 0.6735 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.2184, allocations: 8.031 kB / 0.6735 GB, free: 1.582 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.143e-05/0.2185, allocations: 16.83 kB / 0.6735 GB, free: 1.566 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.2187, allocations: 192.2 kB / 0.6737 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.2187, allocations: 8.375 kB / 0.6737 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.2187, allocations: 7.938 kB / 0.6737 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002695/0.219, allocations: 113.6 kB / 0.6738 GB, free: 1.207 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.219, allocations: 0 / 0.6738 GB, free: 1.207 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.219, allocations: 0 / 0.6738 GB, free: 1.207 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/0.219, allocations: 4 kB / 0.6738 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002457/0.2193, allocations: 99.86 kB / 0.6739 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006204/0.2199, allocations: 376.6 kB / 0.6743 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.2201, allocations: 62.48 kB / 0.6743 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.2202, allocations: 44.95 kB / 0.6744 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.066e-05/0.2203, allocations: 11.98 kB / 0.6744 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.2203, allocations: 34.5 kB / 0.6744 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.2203, allocations: 4 kB / 0.6744 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0004997/0.2208, allocations: 169.5 kB / 0.6746 GB, free: 348 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.2209, allocations: 55.34 kB / 0.6746 GB, free: 280 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.221, allocations: 136.2 kB / 0.6748 GB, free: 136 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.221, allocations: 25.7 kB / 0.6748 GB, free: 104 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.862e-05/0.2211, allocations: 104.3 kB / 0.6749 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.065e-05/0.2211, allocations: 31.8 kB / 0.6749 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.242e-05/0.2212, allocations: 21.7 kB / 0.6749 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.2213, allocations: 318.8 kB / 0.6753 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.2214, allocations: 39.97 kB / 0.6753 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.894e-05/0.2215, allocations: 39.97 kB / 0.6753 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000216/0.2218, allocations: 89.19 kB / 0.6754 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.2218, allocations: 4 kB / 0.6754 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002923/0.2221, allocations: 129.5 kB / 0.6755 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.2221, allocations: 7.75 kB / 0.6755 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.2221, allocations: 0 / 0.6755 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.2221, allocations: 0 / 0.6755 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.2223, allocations: 19.98 kB / 0.6756 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.2223, allocations: 7.984 kB / 0.6756 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.11e-05/0.2224, allocations: 11.92 kB / 0.6756 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/0.2224, allocations: 4 kB / 0.6756 GB, free: 15.26 MB / 0.5294 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 0.0001058/0.2225, allocations: 126.5 kB / 0.6757 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.707e-05/0.2226, allocations: 11.89 kB / 0.6757 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000363/0.2229, allocations: 142.3 kB / 0.6759 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.2229, allocations: 4 kB / 0.6759 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.2229, allocations: 0 / 0.6759 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.223, allocations: 3.984 kB / 0.6759 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002311/0.2232, allocations: 205.6 kB / 0.6761 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2232, allocations: 0 / 0.6761 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.993e-05/0.2233, allocations: 15.98 kB / 0.6761 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.2233, allocations: 7.938 kB / 0.6761 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.2233, allocations: 0 / 0.6761 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.2233, allocations: 0 / 0.6761 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.2234, allocations: 3.984 kB / 0.6761 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003564/0.2237, allocations: 223.5 kB / 0.6763 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.946e-05/0.2238, allocations: 100.9 kB / 0.6764 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.2238, allocations: 4 kB / 0.6764 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.511e-05/0.2239, allocations: 4 kB / 0.6764 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.643e-05/0.224, allocations: 7.984 kB / 0.6764 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.224, allocations: 4 kB / 0.6764 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.585e-05/0.2241, allocations: 107.2 kB / 0.6765 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2241, allocations: 0 / 0.6765 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002432/0.2243, allocations: 23.94 kB / 0.6765 GB, free: 14.18 MB / 0.5294 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.0001972/0.2245, allocations: 95.25 kB / 0.6766 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003214/0.2248, allocations: 91.94 kB / 0.6767 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2249, allocations: 0 / 0.6767 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.225, allocations: 63.89 kB / 0.6768 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/0.2253, allocations: 15.06 kB / 0.6768 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005517/0.2258, allocations: 214.9 kB / 0.677 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004536/0.2263, allocations: 0.7002 MB / 0.6777 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001594/0.2265, allocations: 15.98 kB / 0.6777 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.772e-05/0.2265, allocations: 15.42 kB / 0.6777 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of SimCode: time 2.21e-07/0.2265, allocations: 0 / 0.6777 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of Templates: time 0.004425/0.2309, allocations: 0.7148 MB / 0.6784 GB, free: 12.21 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)