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.944/2.944, allocations: 287.3 MB / 302.3 MB, free: 8.332 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.001634/0.001634, allocations: 187.3 kB / 370.8 MB, free: 10.86 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.291/2.291, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.0012/0.0012, allocations: 103.9 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006932/0.0006933, allocations: 12 kB / 0.8656 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2332, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.004189/0.2375, allocations: 2.712 MB / 0.9808 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002532/0.2401, allocations: 1.264 MB / 0.9821 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001975/0.2403, allocations: 4 kB / 0.9821 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000208/0.2405, allocations: 39.7 kB / 0.9821 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00047/0.241, allocations: 103.7 kB / 0.9822 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005003/0.2415, allocations: 111.7 kB / 0.9823 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003432/0.2419, allocations: 191.5 kB / 0.9825 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003377/0.2422, allocations: 219.3 kB / 0.9827 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002009/0.2425, allocations: 95.69 kB / 0.9828 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000269/0.2427, allocations: 107.6 kB / 0.9829 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.58e-05/0.2428, allocations: 8 kB / 0.9829 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002781/0.2431, allocations: 83.86 kB / 0.983 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.672e-05/0.2432, allocations: 67.81 kB / 0.9831 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.815e-05/0.2433, allocations: 65.58 kB / 0.9831 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003856/0.2437, allocations: 259.6 kB / 0.9834 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.2437, allocations: 0 / 0.9834 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2437, allocations: 0 / 0.9834 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.2437, allocations: 0 / 0.9834 GB, free: 23.04 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.000947/0.2447, allocations: 0.5067 MB / 0.9839 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.2447, allocations: 12.02 kB / 0.9839 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000906/0.2456, allocations: 91.5 kB / 0.984 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003748/0.246, allocations: 244 kB / 0.9842 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.2461, allocations: 16.44 kB / 0.9842 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.796e-05/0.2461, allocations: 20 kB / 0.9842 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006684/0.2468, allocations: 308.3 kB / 0.9845 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.2468, allocations: 0 / 0.9845 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.925e-05/0.2469, allocations: 12 kB / 0.9845 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.852e-05/0.2469, allocations: 24.38 kB / 0.9846 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005541/0.2475, allocations: 217.5 kB / 0.9848 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001936/0.2495, allocations: 1.486 MB / 0.9862 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005921/0.2501, allocations: 211.7 kB / 0.9864 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.2501, allocations: 7.938 kB / 0.9864 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.2502, allocations: 34.5 kB / 0.9865 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 2.595e-06/0.2502, allocations: 0 / 0.9865 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0007753/0.251, allocations: 279.5 kB / 0.9867 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.251, allocations: 51.41 kB / 0.9868 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002354/0.2512, allocations: 212.3 kB / 0.987 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.2513, allocations: 25.7 kB / 0.987 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.387e-05/0.2514, allocations: 171.7 kB / 0.9872 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.2514, allocations: 27.56 kB / 0.9872 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.205e-05/0.2514, allocations: 4 kB / 0.9872 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.806e-05/0.2515, allocations: 334.8 kB / 0.9875 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.2517, allocations: 43.92 kB / 0.9876 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.2519, allocations: 108.5 kB / 0.9877 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001836/0.2521, allocations: 67.86 kB / 0.9877 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.2521, allocations: 0 / 0.9877 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005431/0.2526, allocations: 226 kB / 0.9879 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.2527, allocations: 8 kB / 0.9879 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.2527, allocations: 0 / 0.9879 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002336/0.2529, allocations: 33.19 kB / 0.988 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000239/0.2532, allocations: 31.98 kB / 0.988 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/0.2542, allocations: 1.335 MB / 0.9893 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/0.2545, allocations: 19.75 kB / 0.9893 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.2545, allocations: 4 kB / 0.9893 GB, free: 16.37 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.000164/0.2547, allocations: 151.6 kB / 0.9895 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.812e-05/0.2548, allocations: 15.81 kB / 0.9895 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.978e-05/0.2548, allocations: 25.58 kB / 0.9895 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.2548, allocations: 4 kB / 0.9895 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2548, allocations: 0 / 0.9895 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2548, allocations: 0 / 0.9895 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007905/0.2556, allocations: 487.2 kB / 0.99 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.2557, allocations: 4 kB / 0.99 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.2558, allocations: 11.98 kB / 0.99 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001384/0.2559, allocations: 36.78 kB / 0.99 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.256, allocations: 4 kB / 0.99 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001013/0.257, allocations: 1.331 MB / 0.9913 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.257, allocations: 3.938 kB / 0.9913 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004175/0.2575, allocations: 244.1 kB / 0.9916 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.348e-05/0.2576, allocations: 105.1 kB / 0.9917 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.223e-05/0.2576, allocations: 3.953 kB / 0.9917 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002064/0.2578, allocations: 4 kB / 0.9917 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.892e-05/0.2579, allocations: 11.98 kB / 0.9917 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.2579, allocations: 4 kB / 0.9917 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001504/0.2581, allocations: 140.2 kB / 0.9918 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.61e-07/0.2581, allocations: 4 kB / 0.9918 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000468/0.2586, allocations: 59.84 kB / 0.9919 GB, free: 13.5 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.0001215/0.2587, allocations: 104.2 kB / 0.992 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006002/0.2593, allocations: 238.5 kB / 0.9922 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.2593, allocations: 0.5625 kB / 0.9922 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002682/0.2596, allocations: 162.7 kB / 0.9924 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004128/0.26, allocations: 31.97 kB / 0.9924 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008473/0.2609, allocations: 471.3 kB / 0.9929 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.2612, allocations: 0.7632 MB / 0.9936 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001783/0.2614, allocations: 26.16 kB / 0.9936 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.254e-05/0.2614, allocations: 15.44 kB / 0.9936 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of SimCode: time 1.833e-06/0.2614, allocations: 4 kB / 0.9936 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of Templates: time 0.006515/0.268, allocations: 1.769 MB / 0.9954 GB, free: 9.871 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)