Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource") translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.759/2.759, allocations: 287.5 MB / 302.4 MB, free: 8.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002114/0.002113, allocations: 178.6 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.23/2.23, allocations: 205.4 MB / 0.6297 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009646/0.0009643, allocations: 97.27 kB / 0.743 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004884/0.0004887, allocations: 11.09 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2126, allocations: 115.3 MB / 0.9784 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.004322/0.217, allocations: 2.778 MB / 0.9811 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002685/0.2197, allocations: 1.268 MB / 0.9823 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002199/0.22, allocations: 11.88 kB / 0.9823 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002166/0.2202, allocations: 35.7 kB / 0.9824 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004533/0.2207, allocations: 119.4 kB / 0.9825 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004714/0.2212, allocations: 103.7 kB / 0.9826 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004484/0.2216, allocations: 378.7 kB / 0.9829 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003492/0.222, allocations: 221.2 kB / 0.9831 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002295/0.2222, allocations: 107.6 kB / 0.9832 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003384/0.2226, allocations: 139.5 kB / 0.9834 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.813e-05/0.2227, allocations: 12 kB / 0.9834 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003337/0.223, allocations: 83.81 kB / 0.9835 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.2231, allocations: 75.73 kB / 0.9835 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.383e-05/0.2232, allocations: 65.58 kB / 0.9836 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000409/0.2236, allocations: 263.6 kB / 0.9839 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.2236, allocations: 0 / 0.9839 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.256e-06/0.2237, allocations: 4 kB / 0.9839 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.2237, allocations: 0 / 0.9839 GB, free: 22.7 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009709/0.2247, allocations: 0.5049 MB / 0.9843 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.2247, allocations: 12.02 kB / 0.9844 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008096/0.2255, allocations: 91.5 kB / 0.9844 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003538/0.2259, allocations: 244 kB / 0.9847 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.2259, allocations: 12.44 kB / 0.9847 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.317e-05/0.226, allocations: 20 kB / 0.9847 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006426/0.2267, allocations: 312.3 kB / 0.985 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.2267, allocations: 7.984 kB / 0.985 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.795e-05/0.2267, allocations: 8 kB / 0.985 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.655e-05/0.2268, allocations: 24.38 kB / 0.985 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005327/0.2273, allocations: 213.5 kB / 0.9853 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001876/0.2292, allocations: 1.49 MB / 0.9867 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005724/0.2298, allocations: 207.7 kB / 0.9869 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/0.23, allocations: 44.83 kB / 0.9869 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.23, allocations: 3.984 kB / 0.987 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.23, allocations: 38.56 kB / 0.987 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 3.808e-06/0.2301, allocations: 0 / 0.987 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0007705/0.2308, allocations: 271.3 kB / 0.9872 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.2309, allocations: 55.41 kB / 0.9873 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002343/0.2311, allocations: 212.3 kB / 0.9875 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.2312, allocations: 25.7 kB / 0.9875 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.958e-05/0.2313, allocations: 167.7 kB / 0.9877 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/0.2313, allocations: 31.55 kB / 0.9877 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.162e-05/0.2313, allocations: 4 kB / 0.9877 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.697e-05/0.2314, allocations: 322.8 kB / 0.988 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/0.2316, allocations: 47.97 kB / 0.9881 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000178/0.2318, allocations: 116.5 kB / 0.9882 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.232, allocations: 63.92 kB / 0.9882 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.232, allocations: 3.953 kB / 0.9882 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005283/0.2325, allocations: 222.1 kB / 0.9885 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.2325, allocations: 8 kB / 0.9885 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.2326, allocations: 0 / 0.9885 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002128/0.2328, allocations: 32.83 kB / 0.9885 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/0.233, allocations: 31.92 kB / 0.9885 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001042/0.2341, allocations: 1.331 MB / 0.9898 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002354/0.2344, allocations: 19.91 kB / 0.9898 GB, free: 16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.2344, allocations: 12 kB / 0.9899 GB, free: 15.98 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001715/0.2346, allocations: 157.6 kB / 0.99 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.218e-05/0.2346, allocations: 19.81 kB / 0.99 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.007e-05/0.2347, allocations: 17.41 kB / 0.99 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.2347, allocations: 0 / 0.99 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.2347, allocations: 0 / 0.99 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.2347, allocations: 3.984 kB / 0.9901 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007862/0.2355, allocations: 491.2 kB / 0.9905 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.2355, allocations: 0 / 0.9905 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/0.2357, allocations: 8 kB / 0.9905 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001314/0.2358, allocations: 28.83 kB / 0.9906 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.2359, allocations: 0 / 0.9906 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009449/0.2368, allocations: 1.323 MB / 0.9918 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2368, allocations: 0.625 kB / 0.9918 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004149/0.2373, allocations: 248.1 kB / 0.9921 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.096e-05/0.2374, allocations: 100.9 kB / 0.9922 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.185e-05/0.2374, allocations: 3.953 kB / 0.9922 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.2376, allocations: 4 kB / 0.9922 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.279e-05/0.2377, allocations: 11.98 kB / 0.9922 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.2377, allocations: 4 kB / 0.9922 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001487/0.2379, allocations: 144.2 kB / 0.9923 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.41e-07/0.2379, allocations: 0 / 0.9923 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004676/0.2384, allocations: 59.75 kB / 0.9924 GB, free: 13.14 MB / 0.6198 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001217/0.2385, allocations: 101.1 kB / 0.9925 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005845/0.2391, allocations: 234.5 kB / 0.9927 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2391, allocations: 0 / 0.9927 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002721/0.2394, allocations: 167.5 kB / 0.9929 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005581/0.24, allocations: 39.91 kB / 0.9929 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008406/0.2408, allocations: 475.2 kB / 0.9934 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.2411, allocations: 0.7593 MB / 0.9941 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001777/0.2413, allocations: 33.52 kB / 0.9941 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.964e-05/0.2413, allocations: 11.44 kB / 0.9942 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of SimCode: time 1.112e-06/0.2413, allocations: 3.938 kB / 0.9942 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of Templates: time 0.006441/0.2478, allocations: 1.773 MB / 0.9959 GB, free: 9.504 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)